提交 41fb11ca 编写于 作者: G Geert Uytterhoeven

ataflop: Killl warning about unused variable flags

After commit e0c09786 ("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: NGeert Uytterhoeven <geert@linux-m68k.org>
上级 1a0caf41
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册