can: Remove unnecessary alloc/OOM messages
[deliverable/linux.git] / drivers / net / can / usb / usb_8dev.c
index f789e6f54a55009f67c9d06bff03e865b9e9e388..6e15ef08f301fe385dec2727bdc6f92dded28e89 100644 (file)
@@ -958,10 +958,8 @@ static int usb_8dev_probe(struct usb_interface *intf,
 
        priv->cmd_msg_buffer = kzalloc(sizeof(struct usb_8dev_cmd_msg),
                                      GFP_KERNEL);
-       if (!priv->cmd_msg_buffer) {
-               netdev_err(netdev, "Couldn't alloc Tx buffer\n");
+       if (!priv->cmd_msg_buffer)
                goto cleanup_candev;
-       }
 
        usb_set_intfdata(intf, priv);
 
This page took 0.025976 seconds and 5 git commands to generate.