mtd/util mkfs.jffs.c,1.11,1.12

gleixner at infradead.org gleixner at infradead.org
Wed May 5 14:33:35 EDT 2004


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv6751

Modified Files:
	mkfs.jffs.c 
Log Message:
Remove unused read_val16

Index: mkfs.jffs.c
===================================================================
RCS file: /home/cvs/mtd/util/mkfs.jffs.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mkfs.jffs.c	11 Mar 2001 11:44:42 -0000	1.11
+++ mkfs.jffs.c	5 May 2004 18:33:33 -0000	1.12
@@ -225,24 +225,6 @@
   return val;
 }
 
-static __u16 read_val16(__u16 *adr) 
-{
-  __u16 val = 0;
-
-  switch(endian) {
-  case ENDIAN_HOST:
-    val = *adr;
-    break;
-  case ENDIAN_LITTLE:
-    val = __le16_to_cpu(*adr);
-    break;
-  case ENDIAN_BIG:
-    val = __be16_to_cpu(*adr);
-    break;
-  }
-  return val;
-}
-
 
 /* This function constructs a root inode with no name and
    no data.  The inode is then written to the filesystem




More information about the linux-mtd-cvs mailing list