Skip to content

Commit

Permalink
ataflop: Killl warning about unused variable flags
Browse files Browse the repository at this point in the history
After commit e0c0978 ("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>
  • Loading branch information
Geert Uytterhoeven committed Feb 27, 2010
1 parent 1a0caf4 commit 41fb11c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/block/ataflop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1470,8 +1470,6 @@ static void redo_fd_request(void)

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;
Expand Down

0 comments on commit 41fb11c

Please sign in to comment.