Skip to content

Commit

Permalink
dm unstripe: remove superfluous module init error path message
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Reviewed-by: Scott Bauer <Scott.Bauer@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
  • Loading branch information
Heinz Mauelshagen authored and Mike Snitzer committed Apr 3, 2018
1 parent ba5dfbb commit 91e065d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/md/dm-unstripe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 91e065d

Please sign in to comment.