Commit c6ab0158 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: serial: ezusb: remove last printk() call

This code shouldn't be calling printk(), no one needs to know this debug
message, the return code is good enough.

Cc: "René Bürgel" <rene.buergel@sohard.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3033bc8d
...@@ -26,11 +26,8 @@ int ezusb_writememory(struct usb_device *dev, int address, ...@@ -26,11 +26,8 @@ int ezusb_writememory(struct usb_device *dev, int address,
int result; int result;
unsigned char *transfer_buffer; unsigned char *transfer_buffer;
if (!dev) { if (!dev)
printk(KERN_ERR "ezusb: %s - no physical device present, "
"failing.\n", __func__);
return -ENODEV; return -ENODEV;
}
transfer_buffer = kmemdup(data, length, GFP_KERNEL); transfer_buffer = kmemdup(data, length, GFP_KERNEL);
if (!transfer_buffer) { if (!transfer_buffer) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment