drivers/net: Remove unnecessary k.alloc/v.alloc OOM messages
[linux-2.6-block.git] / drivers / net / ethernet / apple / bmac.c
index d070b229dbf753b9f59afeef69f7391ec32f71a3..4108ac800cf0d86bb6d152ec8b47ca1798fa8736 100644 (file)
@@ -1660,10 +1660,8 @@ static int __init bmac_init(void)
 {
        if (bmac_emergency_rxbuf == NULL) {
                bmac_emergency_rxbuf = kmalloc(RX_BUFLEN, GFP_KERNEL);
-               if (bmac_emergency_rxbuf == NULL) {
-                       printk(KERN_ERR "BMAC: can't allocate emergency RX buffer\n");
+               if (bmac_emergency_rxbuf == NULL)
                        return -ENOMEM;
-               }
        }
 
        return macio_register_driver(&bmac_driver);