From: Luis Henriques Date: Mon, 27 Apr 2015 20:29:36 +0000 (+0100) Subject: dm stripe: drop useless exit point from dm_stripe_init() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e223e1de4f8a586662c4917f6f673126574960dd;p=linux-beck.git dm stripe: drop useless exit point from dm_stripe_init() Signed-off-by: Luis Henriques Signed-off-by: Mike Snitzer --- diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c index f8b37d4c05d8..a672a1502c14 100644 --- a/drivers/md/dm-stripe.c +++ b/drivers/md/dm-stripe.c @@ -451,10 +451,8 @@ int __init dm_stripe_init(void) int r; r = dm_register_target(&stripe_target); - if (r < 0) { + if (r < 0) DMWARN("target registration failed"); - return r; - } return r; }