projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a0caf4
)
ataflop: Killl warning about unused variable flags
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Fri, 11 Dec 2009 16:12:09 +0000
(17:12 +0100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Sat, 27 Feb 2010 17:27:15 +0000
(18:27 +0100)
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>
drivers/block/ataflop.c
patch
|
blob
|
history
diff --git
a/drivers/block/ataflop.c
b/drivers/block/ataflop.c
index
a5af1d6
..
e35cf59
100644
(file)
--- a/
drivers/block/ataflop.c
+++ b/
drivers/block/ataflop.c
@@
-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;