summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-12-31 06:44:09 +0100
committerJens Axboe <axboe@kernel.dk>2018-12-31 18:19:13 +0100
commitf3010ec5b7963b63f5f455725f947a95e55e0c03 (patch)
treee74bccb587e72a034a32e05b01b7bfcf81181897
parentblock/amiflop: Don't log error message on invalid ioctl (diff)
downloadlinux-f3010ec5b7963b63f5f455725f947a95e55e0c03.tar.xz
linux-f3010ec5b7963b63f5f455725f947a95e55e0c03.zip
block/swim3: Remove dead return statement
Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--drivers/block/swim3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c
index c1c676a33e4a..ba1190f1276b 100644
--- a/drivers/block/swim3.c
+++ b/drivers/block/swim3.c
@@ -1151,7 +1151,6 @@ static int swim3_add_device(struct macio_dev *mdev, int index)
swim3_err("%s", "Couldn't request interrupt\n");
pmac_call_feature(PMAC_FTR_SWIM3_ENABLE, swim, 0, 0);
goto out_unmap;
- return -EBUSY;
}
timer_setup(&fs->timeout, NULL, 0);