Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41fb11ca authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 1a0caf41
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;