block/swim3: Remove dead return statement
authorFinn Thain <fthain@telegraphics.com.au>
Mon, 31 Dec 2018 05:44:09 +0000 (16:44 +1100)
committerJens Axboe <axboe@kernel.dk>
Mon, 31 Dec 2018 17:19:13 +0000 (10:19 -0700)
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/swim3.c

index c1c676a..ba1190f 100644 (file)
@@ -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);