diff options
-rw-r--r-- | drivers/usb/serial/digi_acceleport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c index 3edda3ed822a..fd35f73b5721 100644 --- a/drivers/usb/serial/digi_acceleport.c +++ b/drivers/usb/serial/digi_acceleport.c | |||
@@ -1239,8 +1239,7 @@ static void digi_write_bulk_callback(struct urb *urb) | |||
1239 | 1239 | ||
1240 | /* port and serial sanity check */ | 1240 | /* port and serial sanity check */ |
1241 | if (port == NULL || (priv = usb_get_serial_port_data(port)) == NULL) { | 1241 | if (port == NULL || (priv = usb_get_serial_port_data(port)) == NULL) { |
1242 | dev_err(&port->dev, | 1242 | pr_err("%s: port or port->private is NULL, status=%d\n", |
1243 | "%s: port or port->private is NULL, status=%d\n", | ||
1244 | __func__, status); | 1243 | __func__, status); |
1245 | return; | 1244 | return; |
1246 | } | 1245 | } |