drivers/block/floppy.c: remove unnecessary return and braces
authorJoe Perches <joe@perches.com>
Wed, 10 Mar 2010 23:21:01 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:30 +0000 (15:52 -0800)
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>
drivers/block/floppy.c

index 1264102cdcb14705f175bac671f7273c092dbb8f..00f3910e2d53444d4d395bd7ac2383d2ad1a6f54 100644 (file)
@@ -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;
-       }
 }
 
 /*