summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-unstripe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-unstripe.c')
-rw-r--r--drivers/md/dm-unstripe.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/md/dm-unstripe.c b/drivers/md/dm-unstripe.c
index 28ce7e57d981..cf7ac073d840 100644
--- a/drivers/md/dm-unstripe.c
+++ b/drivers/md/dm-unstripe.c
@@ -195,13 +195,7 @@ static struct target_type unstripe_target = {
static int __init dm_unstripe_init(void)
{
- int r;
-
- r = dm_register_target(&unstripe_target);
- if (r < 0)
- DMERR("target registration failed");
-
- return r;
+ return dm_register_target(&unstripe_target);
}
static void __exit dm_unstripe_exit(void)
OpenPOWER on IntegriCloud