patch-2.4.19 linux-2.4.19/drivers/block/amiflop.c

Next file: linux-2.4.19/drivers/block/blkpg.c
Previous file: linux-2.4.19/drivers/block/Makefile
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/block/amiflop.c linux-2.4.19/drivers/block/amiflop.c
@@ -1491,7 +1491,6 @@
 {
 	int drive = inode->i_rdev & 3;
 	static struct floppy_struct getprm;
-	struct super_block * sb;
 
 	switch(cmd){
 	case HDIO_GETGEO:
@@ -1678,9 +1677,6 @@
 
 static int floppy_release(struct inode * inode, struct file * filp)
 {
-#ifdef DEBUG
-	struct super_block * sb;
-#endif
 	int drive = MINOR(inode->i_rdev) & 3;
 
 	if (unit[drive].dirty == 1) {

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