From: Joe Perches Date: Wed, 10 Mar 2010 23:21:01 +0000 (-0800) Subject: drivers/block/floppy.c: remove unnecessary return and braces X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=15b2630c587dcea931f563deb50d617af96b4edb;p=openwrt%2Fstaging%2Fblogic.git drivers/block/floppy.c: remove unnecessary return and braces Signed-off-by: Joe Perches Cc: Stephen Hemminger Cc: Jens Axboe Cc: Marcin Slusarz Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 1264102cdcb1..00f3910e2d53 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -1796,10 +1796,8 @@ static void recalibrate_floppy(void) debugt("recalibrate floppy:"); do_floppy = recal_interrupt; output_byte(FD_RECALIBRATE); - if (output_byte(UNIT(current_drive)) < 0) { + if (output_byte(UNIT(current_drive)) < 0) reset_fdc(); - return; - } } /*