diff options
author | Joe Perches <joe@perches.com> | 2010-03-10 18:21:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 18:52:30 -0500 |
commit | 15b2630c587dcea931f563deb50d617af96b4edb (patch) | |
tree | 40afabf6630608ec38eafd47d8257c80514b49bc /drivers/block/floppy.c | |
parent | 57584c5a3824a15f65d2b065d9f453fc1ae1dab7 (diff) |
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>
Diffstat (limited to 'drivers/block/floppy.c')
-rw-r--r-- | drivers/block/floppy.c | 4 |
1 files changed, 1 insertions, 3 deletions
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) | |||
1796 | debugt("recalibrate floppy:"); | 1796 | debugt("recalibrate floppy:"); |
1797 | do_floppy = recal_interrupt; | 1797 | do_floppy = recal_interrupt; |
1798 | output_byte(FD_RECALIBRATE); | 1798 | output_byte(FD_RECALIBRATE); |
1799 | if (output_byte(UNIT(current_drive)) < 0) { | 1799 | if (output_byte(UNIT(current_drive)) < 0) |
1800 | reset_fdc(); | 1800 | reset_fdc(); |
1801 | return; | ||
1802 | } | ||
1803 | } | 1801 | } |
1804 | 1802 | ||
1805 | /* | 1803 | /* |