linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block/swim3: Remove dead return statement
@ 2018-12-31  5:44 Finn Thain
  2018-12-31 17:20 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Finn Thain @ 2018-12-31  5:44 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linuxppc-dev, linux-block, linux-kernel

Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block/swim3: Remove dead return statement
  2018-12-31  5:44 [PATCH] block/swim3: Remove dead return statement Finn Thain
@ 2018-12-31 17:20 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2018-12-31 17:20 UTC (permalink / raw)
  To: Finn Thain; +Cc: linuxppc-dev, linux-block, linux-kernel

On 12/30/18 10:44 PM, Finn Thain wrote:
> Cc: linuxppc-dev@lists.ozlabs.org
> Signed-off-by: Finn Thain <fthain@telegraphics.com.au>

Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-31 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-31  5:44 [PATCH] block/swim3: Remove dead return statement Finn Thain
2018-12-31 17:20 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).