diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2018-02-01 19:06:10 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-04-03 15:04:14 -0400 |
commit | 91e065d8f2354f25246d5c6a0ee270ab74c43dd8 (patch) | |
tree | fa2f74c175b86b3e4654c68486a9f3ec7db6e487 /drivers/md/dm-unstripe.c | |
parent | ba5dfbb712e72002c4e4b02def4df4a020849ce6 (diff) |
dm unstripe: remove superfluous module init error path message
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Reviewed-by: Scott Bauer <Scott.Bauer@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-unstripe.c')
-rw-r--r-- | drivers/md/dm-unstripe.c | 8 |
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) |