diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-12-11 17:12:09 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-02-27 18:27:15 +0100 |
commit | 41fb11ca90fe5a115b663340290311c7f5aab0f6 (patch) | |
tree | 969096cfe50026f2d4f97d021c99692d599e6b22 /drivers/block | |
parent | 1a0caf41c061868eff05a054ff2b0ffe26baf4e0 (diff) | |
download | linux-41fb11ca90fe5a115b663340290311c7f5aab0f6.tar.gz linux-41fb11ca90fe5a115b663340290311c7f5aab0f6.tar.bz2 linux-41fb11ca90fe5a115b663340290311c7f5aab0f6.zip |
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>
Diffstat (limited to 'drivers/block')
-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: void do_fd_request(struct request_queue * q) { - unsigned long flags; - DPRINT(("do_fd_request for pid %d\n",current->pid)); while( fdc_busy ) sleep_on( &fdc_wait ); fdc_busy = 1; |