Removed 6 checkpatch.sh warnings. Signed-off-by: Ben Minerds <puzzleduck@xxxxxxxxx> --- drivers/usb/serial/keyspan.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c index 7cbc485..9dfd154 100644 --- a/drivers/usb/serial/keyspan.c +++ b/drivers/usb/serial/keyspan.c @@ -227,12 +227,12 @@ static int keyspan_tiocmset(struct tty_struct *tty, static int keyspan_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) { - struct keyspan_port_private *p_priv; + struct keyspan_port_private *p_priv; const struct keyspan_device_details *d_details; int flip; - int left, todo; + int left, todo; struct urb *this_urb; - int err, maxDataLen, dataOffset; + int err, maxDataLen, dataOffset; p_priv = usb_get_serial_port_data(port); d_details = p_priv->device_details; @@ -303,7 +303,7 @@ static void usa26_indat_callback(struct urb *urb) int endpoint; struct usb_serial_port *port; struct tty_struct *tty; - unsigned char *data = urb->transfer_buffer; + unsigned char *data = urb->transfer_buffer; int status = urb->status; dbg("%s", __func__); @@ -390,11 +390,11 @@ static void usa26_outcont_callback(struct urb *urb) static void usa26_instat_callback(struct urb *urb) { - unsigned char *data = urb->transfer_buffer; + unsigned char *data = urb->transfer_buffer; struct keyspan_usa26_portStatusMessage *msg; struct usb_serial *serial; struct usb_serial_port *port; - struct keyspan_port_private *p_priv; + struct keyspan_port_private *p_priv; struct tty_struct *tty; int old_dcd_state, err; int status = urb->status; -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html