Commit 41fb11ca authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

ataflop: Killl warning about unused variable flags

After commit e0c09786 ("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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 1a0caf41
...@@ -1470,8 +1470,6 @@ static void redo_fd_request(void) ...@@ -1470,8 +1470,6 @@ static void redo_fd_request(void)
void do_fd_request(struct request_queue * q) void do_fd_request(struct request_queue * q)
{ {
unsigned long flags;
DPRINT(("do_fd_request for pid %d\n",current->pid)); DPRINT(("do_fd_request for pid %d\n",current->pid));
while( fdc_busy ) sleep_on( &fdc_wait ); while( fdc_busy ) sleep_on( &fdc_wait );
fdc_busy = 1; fdc_busy = 1;
......
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