mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 09:56:46 +00:00
ataflop: Killl warning about unused variable flags
After commit e0c0978699a83f26f2341f7eedc1463b79e31aff ("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>
This commit is contained in:
parent
e9e70bc14e
commit
c5c7b32d3c
@ -1470,8 +1470,6 @@ repeat:
|
|||||||
|
|
||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user