diff options
-rw-r--r-- | drivers/usb/serial/ezusb.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c index 3048b52d2d39..a9b5263221fa 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, | |||
26 | int result; | 26 | int result; |
27 | unsigned char *transfer_buffer; | 27 | unsigned char *transfer_buffer; |
28 | 28 | ||
29 | if (!dev) { | 29 | if (!dev) |
30 | printk(KERN_ERR "ezusb: %s - no physical device present, " | ||
31 | "failing.\n", __func__); | ||
32 | return -ENODEV; | 30 | return -ENODEV; |
33 | } | ||
34 | 31 | ||
35 | transfer_buffer = kmemdup(data, length, GFP_KERNEL); | 32 | transfer_buffer = kmemdup(data, length, GFP_KERNEL); |
36 | if (!transfer_buffer) { | 33 | if (!transfer_buffer) { |