Re: [PATCH 2/4 -mm] void unregister_blkdev - delete redundant message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/29/07, Akinobu Mita <[email protected]> wrote:
No need to warn unregister_blkdev() failure by caller.
(The previous patch makes unregister_blkdev() print error message in
error case)

Cc: Grant Likely <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Acked-by: Grant Likely <[email protected]>


---
 drivers/block/xsysace.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: 2.6-mm/drivers/block/xsysace.c
===================================================================
--- 2.6-mm.orig/drivers/block/xsysace.c
+++ 2.6-mm/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);



--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux