summaryrefslogtreecommitdiff
path: root/drivers/md/dm-stripe.c
diff options
context:
space:
mode:
authorLuis Henriques <luis.henriques@canonical.com>2015-04-27 21:29:36 +0100
committerMike Snitzer <snitzer@redhat.com>2015-05-29 14:19:01 -0400
commite223e1de4f8a586662c4917f6f673126574960dd (patch)
treee2d7054193c87d1dbc0cb6eee9eb639c1e1f6a5b /drivers/md/dm-stripe.c
parent0cf4503174c12025ac7ea61048cb7c1d4d1ed85c (diff)
dm stripe: drop useless exit point from dm_stripe_init()
Signed-off-by: Luis Henriques <luis.henriques@canonical.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-stripe.c')
-rw-r--r--drivers/md/dm-stripe.c4
1 files changed, 1 insertions, 3 deletions
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;
}