mtd/drivers/mtd/devices block2mtd.c,1.7,1.8

joern at infradead.org joern at infradead.org
Wed Dec 22 08:08:06 EST 2004


Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/home/joern/mtd/drivers/mtd/devices

Modified Files:
	block2mtd.c 
Log Message:
The sync interface was unused.  Not it's gone.



Index: block2mtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/block2mtd.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- block2mtd.c	22 Dec 2004 13:07:39 -0000	1.7
+++ block2mtd.c	22 Dec 2004 13:08:03 -0000	1.8
@@ -55,14 +55,11 @@
 /* Static info about the MTD, used in cleanup_module */
 static LIST_HEAD(blkmtd_device_list);
 
-static void blkmtd_sync(struct mtd_info *mtd);
-
 #define MAX_DEVICES 4
 
 /* Module parameters passed by insmod/modprobe */
 char *device[MAX_DEVICES];    /* the block device to use */
 int erasesz[MAX_DEVICES];     /* optional default erase size */
-int sync;
 
 
 MODULE_LICENSE("GPL");
@@ -72,8 +69,6 @@
 MODULE_PARM_DESC(device, "block device to use");
 MODULE_PARM(erasesz, "1-4i");
 MODULE_PARM_DESC(erasesz, "optional erase size to use in KiB. eg 4=4KiB.");
-MODULE_PARM(sync, "i");
-MODULE_PARM_DESC(sync, "1=Synchronous writes");
 
 #define PAGE_READAHEAD 64
 
@@ -551,16 +546,8 @@
 }
 
 
-static int __init param_blkmtd_sync(char *str)
-{
-	if (str[0] == '1')
-		sync = 1;
-	return 1;
-}
-
 __setup("blkmtd_device=", param_blkmtd_device);
 __setup("blkmtd_erasesz=", param_blkmtd_erasesz);
-__setup("blkmtd_sync=", param_blkmtd_sync);
 
 #endif
 





More information about the linux-mtd-cvs mailing list