projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba5dfbb
)
dm unstripe: remove superfluous module init error path message
author
Heinz Mauelshagen
<heinzm@redhat.com>
Thu, 1 Feb 2018 18:06:10 +0000
(19:06 +0100)
committer
Mike Snitzer
<snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:14 +0000
(15:04 -0400)
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Reviewed-by: Scott Bauer <Scott.Bauer@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-unstripe.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-unstripe.c
b/drivers/md/dm-unstripe.c
index 28ce7e57d98133faef51f114c490f5ce42eab9f5..cf7ac073d840176c8ab29daa66f8b8689ad58eac 100644
(file)
--- 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)