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

Commit 045f9836 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

drivers/block/floppy.c: remove used once CHECK_READY macro



Signed-off-by: default avatarJoe Perches <joe@perches.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a81ee544
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -575,7 +575,6 @@ static void floppy_release_irq_and_dma(void);
 * reset doesn't need to be tested before sending commands, because
 * output_byte is automatically disabled when reset is set.
 */
#define CHECK_RESET { if (FDCS->reset){ reset_fdc(); return; } }
static void reset_fdc(void);

/*
@@ -1958,7 +1957,10 @@ static int start_motor(void (*function)(void))

static void floppy_ready(void)
{
	CHECK_RESET;
	if (FDCS->reset) {
		reset_fdc();
		return;
	}
	if (start_motor(floppy_ready))
		return;
	if (fdc_dtr())