diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-12-13 14:07:31 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-04 05:55:44 -0500 |
commit | c5c7b32d3c67049ab4e509d0e8bf93811c433dfb (patch) | |
tree | e0ea62559e401757c00b05b18d9324dd66d761d3 | |
parent | e9e70bc14ea5974e21f5baecf95a123844c412b9 (diff) |
ataflop: Killl warning about unused variable flags
After commit e0c0978699a83f26f2341f7eedc1463b79e31aff ("ataflop: remove
buggy/commented-out IRQ disable from do_fd_request()") the `flags' variable
became unused:
drivers/block/ataflop.c:1473: warning: unused variable 'flags'
Hence remove it.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/block/ataflop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c index a5af1d6dda8b..e35cf59cbfde 100644 --- a/drivers/block/ataflop.c +++ b/drivers/block/ataflop.c | |||
@@ -1470,8 +1470,6 @@ repeat: | |||
1470 | 1470 | ||
1471 | void do_fd_request(struct request_queue * q) | 1471 | void do_fd_request(struct request_queue * q) |
1472 | { | 1472 | { |
1473 | unsigned long flags; | ||
1474 | |||
1475 | DPRINT(("do_fd_request for pid %d\n",current->pid)); | 1473 | DPRINT(("do_fd_request for pid %d\n",current->pid)); |
1476 | while( fdc_busy ) sleep_on( &fdc_wait ); | 1474 | while( fdc_busy ) sleep_on( &fdc_wait ); |
1477 | fdc_busy = 1; | 1475 | fdc_busy = 1; |