From: Vincent Heuken Date: Fri, 20 Jun 2014 13:08:07 +0000 (-0700) Subject: Staging: serqt_usb2: fixed blank line style warning in serqt_usb2.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=684ff4f987a22b551c2b1f27a367a9ee4d79b653;p=openwrt%2Fstaging%2Fblogic.git Staging: serqt_usb2: fixed blank line style warning in serqt_usb2.c This is a patch to the serqt_usb2.c file that fixes the following warning: WARNING: Missing a blank line after declarations Signed-off-by: Vincent Heuken Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c index 998c3845421d..5e97726d4d66 100644 --- a/drivers/staging/serqt_usb2/serqt_usb2.c +++ b/drivers/staging/serqt_usb2/serqt_usb2.c @@ -257,6 +257,7 @@ static void process_modem_status(struct quatech_port *qt_port, static void process_rx_char(struct usb_serial_port *port, unsigned char data) { struct urb *urb = port->read_urb; + if (urb->actual_length) tty_insert_flip_char(&port->port, data, TTY_NORMAL); }