[PATCH] Staging: serqt_usb2: fixed blank line style warning in serqt_usb2.c

From: Vincent Heuken
Date: Fri Jun 20 2014 - 09:07:54 EST


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 <me@xxxxxxxxxxxxxxxxx>
---
drivers/staging/serqt_usb2/serqt_usb2.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c
index 998c384..5e97726 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);
}
--
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/