summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2007-07-17 11:03:46 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 17:23:03 (GMT)
commitc6d4d63489f2e3ce38c80e7073952f0c58d4c2bc (patch)
tree566257c61b84d7b5a051515ff42279236d963fb5 /drivers/block
parent00d59405cf6d7ef8932394ab5a12da1a50ce581e (diff)
downloadlinux-c6d4d63489f2e3ce38c80e7073952f0c58d4c2bc.tar.xz
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')
-rw-r--r--drivers/block/xsysace.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c
index 1cddfff..732ec63 100644
--- a/drivers/block/xsysace.c
+++ b/drivers/block/xsysace.c
@@ -1157,9 +1157,7 @@ static void __exit ace_exit(void)
{
pr_debug("Unregistering Xilinx SystemACE driver\n");
driver_unregister(&ace_driver);
- if (unregister_blkdev(ace_major, "xsysace"))
- printk(KERN_WARNING "systemace unregister_blkdev(%i) failed\n",
- ace_major);
+ unregister_blkdev(ace_major, "xsysace");
}
module_init(ace_init);