]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
net: wl12xx: remove unnecessary prints
authorFelipe Balbi <balbi@ti.com>
Fri, 13 May 2011 21:26:23 +0000 (00:26 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 07:15:47 +0000 (10:15 +0300)
Those have little value. Remove those to
make the driver less noisy.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/spi.c

index 51662bb680197a5585335f231364718ce9b2d3e8..b73cee117adaee7aa0ecbb4f78d1cadf363455b0 100644 (file)
@@ -435,8 +435,6 @@ static int __devinit wl1271_probe(struct spi_device *spi)
        if (ret)
                goto out_irq;
 
-       wl1271_notice("initialized");
-
        return 0;
 
  out_irq:
@@ -473,23 +471,12 @@ static struct spi_driver wl1271_spi_driver = {
 
 static int __init wl1271_init(void)
 {
-       int ret;
-
-       ret = spi_register_driver(&wl1271_spi_driver);
-       if (ret < 0) {
-               wl1271_error("failed to register spi driver: %d", ret);
-               goto out;
-       }
-
-out:
-       return ret;
+       return spi_register_driver(&wl1271_spi_driver);
 }
 
 static void __exit wl1271_exit(void)
 {
        spi_unregister_driver(&wl1271_spi_driver);
-
-       wl1271_notice("unloaded");
 }
 
 module_init(wl1271_init);