diff options
author | Alasdair G Kergon <agk@redhat.com> | 2007-07-12 12:27:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-12 18:01:08 -0400 |
commit | 0cd3312434cd1f29bee6bff53bf2790d733ad2a2 (patch) | |
tree | fc833f871f1b4d320ee5ab365a3efb3e03b278db /drivers/md/dm-raid1.c | |
parent | ac818646d4be79123ad8dc5f1c4da8575d4960f8 (diff) |
dm: remove duplicate module name from error msgs
Remove explicit module name from messages as the macro now includes it
automatically.
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/dm-raid1.c')
-rw-r--r-- | drivers/md/dm-raid1.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index ef124b71ccc8..2a02180f5d05 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c | |||
@@ -1335,8 +1335,7 @@ static int __init dm_mirror_init(void) | |||
1335 | 1335 | ||
1336 | r = dm_register_target(&mirror_target); | 1336 | r = dm_register_target(&mirror_target); |
1337 | if (r < 0) { | 1337 | if (r < 0) { |
1338 | DMERR("%s: Failed to register mirror target", | 1338 | DMERR("Failed to register mirror target"); |
1339 | mirror_target.name); | ||
1340 | dm_dirty_log_exit(); | 1339 | dm_dirty_log_exit(); |
1341 | } | 1340 | } |
1342 | 1341 | ||
@@ -1349,7 +1348,7 @@ static void __exit dm_mirror_exit(void) | |||
1349 | 1348 | ||
1350 | r = dm_unregister_target(&mirror_target); | 1349 | r = dm_unregister_target(&mirror_target); |
1351 | if (r < 0) | 1350 | if (r < 0) |
1352 | DMERR("%s: unregister failed %d", mirror_target.name, r); | 1351 | DMERR("unregister failed %d", r); |
1353 | 1352 | ||
1354 | dm_dirty_log_exit(); | 1353 | dm_dirty_log_exit(); |
1355 | } | 1354 | } |