]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
unregister_blkdev(): delete redundant message
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 17 Jul 2007 11:03:46 +0000 (04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:03 +0000 (10:23 -0700)
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>
drivers/block/xsysace.c

index 1cddfff9ae6f9390356cbfd4b787db9a33f29292..732ec63b6e9cdd2733ed66270e0c4f2f602f9fd2 100644 (file)
@@ -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);