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: https://git.stricted.de/?a=commitdiff_plain;h=15b2630c587dcea931f563deb50d617af96b4edb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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; - } } /*