1
0
Fork 0

ataflop: Killl warning about unused variable flags

After commit e0c0978699 ("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>
hifive-unleashed-5.1
Geert Uytterhoeven 2009-12-13 20:07:31 +01:00 committed by Jiri Kosina
parent e9e70bc14e
commit c5c7b32d3c
1 changed files with 0 additions and 2 deletions

View 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;