diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-07-17 07:03:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:03 -0400 |
commit | c6d4d63489f2e3ce38c80e7073952f0c58d4c2bc (patch) | |
tree | 566257c61b84d7b5a051515ff42279236d963fb5 /drivers/block/xsysace.c | |
parent | 00d59405cf6d7ef8932394ab5a12da1a50ce581e (diff) |
unregister_blkdev(): delete redundant message
No need to warn unregister_blkdev() failure by caller. (The previous patch
makes unregister_blkdev() print error message in error case)
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/xsysace.c')
-rw-r--r-- | drivers/block/xsysace.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 1cddfff9ae6f..732ec63b6e9c 100644 --- a/drivers/block/xsysace.c +++ b/drivers/block/xsysace.c | |||
@@ -1157,9 +1157,7 @@ static void __exit ace_exit(void) | |||
1157 | { | 1157 | { |
1158 | pr_debug("Unregistering Xilinx SystemACE driver\n"); | 1158 | pr_debug("Unregistering Xilinx SystemACE driver\n"); |
1159 | driver_unregister(&ace_driver); | 1159 | driver_unregister(&ace_driver); |
1160 | if (unregister_blkdev(ace_major, "xsysace")) | 1160 | unregister_blkdev(ace_major, "xsysace"); |
1161 | printk(KERN_WARNING "systemace unregister_blkdev(%i) failed\n", | ||
1162 | ace_major); | ||
1163 | } | 1161 | } |
1164 | 1162 | ||
1165 | module_init(ace_init); | 1163 | module_init(ace_init); |