drivers/block/floppy.c: remove unnecessary return and braces
Signed-off-by: Joe 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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
57584c5a38
commit
15b2630c58
@@ -1796,10 +1796,8 @@ static void recalibrate_floppy(void)
|
|||||||
debugt("recalibrate floppy:");
|
debugt("recalibrate floppy:");
|
||||||
do_floppy = recal_interrupt;
|
do_floppy = recal_interrupt;
|
||||||
output_byte(FD_RECALIBRATE);
|
output_byte(FD_RECALIBRATE);
|
||||||
if (output_byte(UNIT(current_drive)) < 0) {
|
if (output_byte(UNIT(current_drive)) < 0)
|
||||||
reset_fdc();
|
reset_fdc();
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user