Commit 3146452f authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] floppy.c: remove an unused function

The patch below removes an unused function from drivers/block/floppy.c
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 73996394
...@@ -3318,11 +3318,6 @@ static int invalidate_drive(struct block_device *bdev) ...@@ -3318,11 +3318,6 @@ static int invalidate_drive(struct block_device *bdev)
return 0; return 0;
} }
static inline void clear_write_error(int drive)
{
CLEARSTRUCT(UDRWE);
}
static inline int set_geometry(unsigned int cmd, struct floppy_struct *g, static inline int set_geometry(unsigned int cmd, struct floppy_struct *g,
int drive, int type, struct block_device *bdev) int drive, int type, struct block_device *bdev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment