Message ID | 90eeaffb9abbc2bb6771b266a1dbf6ccbee58a64.1517504857.git.heinzm@redhat.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show |
esOn Thu, Feb 01, 2018 at 07:09:47PM +0100, Heinz Mauelshagen wrote: > Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Looks fine Reviewed-by: Scott Bauer <Scott.Bauer@intel.com> -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel
diff --git a/drivers/md/dm-unstripe.c b/drivers/md/dm-unstripe.c index c06a386bcc79..790b534c67d8 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)
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> --- drivers/md/dm-unstripe.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)