summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/serial/ezusb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c
index 3048b52d2d3..a9b5263221f 100644
--- a/drivers/usb/serial/ezusb.c
+++ b/drivers/usb/serial/ezusb.c
@@ -26,11 +26,8 @@ int ezusb_writememory(struct usb_device *dev, int address,
int result;
unsigned char *transfer_buffer;
- if (!dev) {
- printk(KERN_ERR "ezusb: %s - no physical device present, "
- "failing.\n", __func__);
+ if (!dev)
return -ENODEV;
- }
transfer_buffer = kmemdup(data, length, GFP_KERNEL);
if (!transfer_buffer) {