mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
1a0caf41c0
commit
41fb11ca90
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user