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 <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
geertu authored and Jiri Kosina committed Feb 4, 2010
1 parent e9e70bc commit c5c7b32
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 c5c7b32

Please sign in to comment.