summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-stripe.c
diff options
context:
space:
mode:
authorLuis Henriques <luis.henriques@canonical.com>2015-04-27 22:29:36 +0200
committerMike Snitzer <snitzer@redhat.com>2015-05-29 20:19:01 +0200
commite223e1de4f8a586662c4917f6f673126574960dd (patch)
treee2d7054193c87d1dbc0cb6eee9eb639c1e1f6a5b /drivers/md/dm-stripe.c
parentdm raid: add support for the MD RAID0 personality (diff)
downloadlinux-e223e1de4f8a586662c4917f6f673126574960dd.tar.xz
linux-e223e1de4f8a586662c4917f6f673126574960dd.zip
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;
}