2018-12-31 05:51:33

by Finn Thain

[permalink] [raw]
Subject: [PATCH] block/swim3: Remove dead return statement

Cc: [email protected]
Signed-off-by: Finn Thain <[email protected]>
---
drivers/block/swim3.c | 1 -
1 file changed, 1 deletion(-)

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);
--
2.19.2



2018-12-31 18:50:49

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] block/swim3: Remove dead return statement

On 12/30/18 10:44 PM, Finn Thain wrote:
> Cc: [email protected]
> Signed-off-by: Finn Thain <[email protected]>

Applied, thanks.

--
Jens Axboe