aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
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 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
1165module_init(ace_init); 1163module_init(ace_init);