Skip to contentSkip to conversation

floppy.c: remove an unused function

PATCH New Adrian Bunk 1 participant 2 messages Oct 28, 2004 – Oct 29, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 floppy.c: remove an unused function

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below removes an unused function from drivers/block/floppy.c

diffstat output:

 drivers/block/floppy.c |    5 -----
 1 files changed, 5 deletions(-)

- --- linux-2.6.10-rc1-mm1-full/drivers/block/floppy.c.old 2004-10-28 22:52:49.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/block/floppy.c 2004-10-28 22:53:05.000000000 +0200
@@ -3325,11 +3325,6 @@
return 0;
}

- -static inline void clear_write_error(int drive)
- -{
- - CLEARSTRUCT(UDRWE);
- -}
- -
static inline int set_geometry(unsigned int cmd, struct floppy_struct *g,
int drive, int type, struct block_device *bdev)
{

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgXA7mfzqmE8StAARAgBkAKCgbAI7DFkUyF3VMiMz3RQ9vK8jWwCePwXi dwjHupZq+g+ynYaVZzhEYxk=
=ne+x
-----END PGP SIGNATURE-----

#1 lore raw

PATCH 1/1 floppy.c: remove an unused function

[ this time without the problems due to a digital signature... ]

The patch below removes an unused function from drivers/block/floppy.c

diffstat output:

 drivers/block/floppy.c |    5 -----
 1 files changed, 5 deletions(-)
drivers/block/floppy.c renamed from drivers/block/floppy.c.old +0 -5
@@ -3325,11 +3325,6 @@
 	return 0;
 }
 
-static inline void clear_write_error(int drive)
-{
-	CLEARSTRUCT(UDRWE);
-}
-
 static inline int set_geometry(unsigned int cmd, struct floppy_struct *g,
 			       int drive, int type, struct block_device *bdev)
 {