In function brcmf_add_if() an error message is printed
upon alloc_netdev() failure. The allocation failure itself
spews enough info in the log so remove the error message.
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
                brcmf_dbg(INFO, "allocate netdev interface\n");
                /* Allocate netdev, including space for private structure */
                ndev = alloc_netdev(sizeof(*ifp), name, ether_setup);
-               if (!ndev) {
-                       brcmf_err("OOM - alloc_netdev\n");
+               if (!ndev)
                        return ERR_PTR(-ENOMEM);
-               }
 
                ifp = netdev_priv(ndev);
                ifp->ndev = ndev;