mtd/include/linux/mtd map.h,1.47,1.48

Nicolas Pitre nico at infradead.org
Wed Feb 16 10:55:03 EST 2005


Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv490/include/linux/mtd

Modified Files:
	map.h 
Log Message:
quiet unused variable warning


Index: map.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/map.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- map.h	8 Feb 2005 17:11:15 -0000	1.47
+++ map.h	16 Feb 2005 15:54:59 -0000	1.48
@@ -418,7 +418,7 @@
 
 
 #define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth))
-#define map_is_linear(map) (1)
+#define map_is_linear(map) ({ (void)(map); 1; })
 
 #endif /* !CONFIG_MTD_COMPLEX_MAPPINGS */
 





More information about the linux-mtd-cvs mailing list