ataflop: Killl warning about unused variable flags
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 13 Dec 2009 19:07:31 +0000 (20:07 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 4 Feb 2010 10:55:44 +0000 (11:55 +0100)
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>
drivers/block/ataflop.c

index a5af1d6dda8bc37eb25b5127bffb80c4dfa04406..e35cf59cbfde3b0cef6ce6ddb98c3ae38dc47b7d 100644 (file)
@@ -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;