patch-2.3.25 linux/fs/udf/misc.c

Next file: linux/fs/udf/namei.c
Previous file: linux/fs/udf/lowlevel.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/fs/udf/misc.c linux/fs/udf/misc.c
@@ -66,28 +66,6 @@
 	return indat >> 32;
 }
 
-/*
- * udf_stamp_to_time
- */
-time_t * 
-udf_stamp_to_time(time_t *dest, timestamp src)
-{
-	struct ktm tm;
-
-	if ((!dest))
-		return NULL;
-
-	/* this is very rough. need to find source to mktime() */
-	tm.tm_year=(src.year) - 1900;	
-	tm.tm_mon=(src.month);
-	tm.tm_mday=(src.day);
-	tm.tm_hour=src.hour;
-	tm.tm_min=src.minute;
-	tm.tm_sec=src.second;
-	*dest = udf_converttime(&tm);
-	return dest;
-}
-
 uid_t udf_convert_uid(int uidin)
 {
 	if ( uidin == -1 )

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)