dm stripe: drop useless exit point from dm_stripe_init()
authorLuis Henriques <luis.henriques@canonical.com>
Mon, 27 Apr 2015 20:29:36 +0000 (21:29 +0100)
committerMike Snitzer <snitzer@redhat.com>
Fri, 29 May 2015 18:19:01 +0000 (14:19 -0400)
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-stripe.c

index f8b37d4c05d8c301658a42c116110d1b63fc9323..a672a1502c1414e8cdc3e003ed0a1f74692e3e12 100644 (file)
@@ -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;
 }