diff options
| author | Heinz Mauelshagen <heinzm@redhat.com> | 2018-02-01 13:06:10 -0500 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2018-04-03 15:04:14 -0400 |
| commit | 91e065d8f2354f25246d5c6a0ee270ab74c43dd8 (patch) | |
| tree | fa2f74c175b86b3e4654c68486a9f3ec7db6e487 /drivers/md | |
| 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')
| -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 = { | |||
| 195 | 195 | ||
| 196 | static int __init dm_unstripe_init(void) | 196 | static int __init dm_unstripe_init(void) |
| 197 | { | 197 | { |
| 198 | int r; | 198 | return dm_register_target(&unstripe_target); |
| 199 | |||
| 200 | r = dm_register_target(&unstripe_target); | ||
| 201 | if (r < 0) | ||
| 202 | DMERR("target registration failed"); | ||
| 203 | |||
| 204 | return r; | ||
| 205 | } | 199 | } |
| 206 | 200 | ||
| 207 | static void __exit dm_unstripe_exit(void) | 201 | static void __exit dm_unstripe_exit(void) |
