diff options
author | Luis Henriques <luis.henriques@canonical.com> | 2015-04-27 23:29:36 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-05-29 21:19:01 +0300 |
commit | e223e1de4f8a586662c4917f6f673126574960dd (patch) | |
tree | e2d7054193c87d1dbc0cb6eee9eb639c1e1f6a5b /drivers/md/dm-stripe.c | |
parent | 0cf4503174c12025ac7ea61048cb7c1d4d1ed85c (diff) | |
download | linux-e223e1de4f8a586662c4917f6f673126574960dd.tar.xz |
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.c | 4 |
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; } |