No subject

thomas_75 at safe-mail.net thomas_75 at safe-mail.net
Sun Mar 30 22:09:16 UTC 2014


>From 3f29cc555820b3f3047e91fece8b7eac07ff75a8 Mon Sep 17 00:00:00 2001
From: Thomas Vegas <thomas_75 at safe-mail.net>
To: gregkh at linuxfoundation.org
Cc: linux-kernel at vger.kernel.org
Cc: devel at driverdev.osuosl.org
Date: Sun, 30 Mar 2014 23:29:38 +0200
Subject: [PATCH] staging: serqt_usb2: Add blank lines after declarations.

Use a more common kernel coding style.

Signed-off-by: Thomas Vegas <thomas_75 at safe-mail.net>
---
 drivers/staging/serqt_usb2/serqt_usb2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c
index 0267dd8..f883f48 100644
--- a/drivers/staging/serqt_usb2/serqt_usb2.c
+++ b/drivers/staging/serqt_usb2/serqt_usb2.c
@@ -995,8 +995,8 @@ static void qt_close(struct usb_serial_port *port)
 	struct tty_struct *tty;
 	int status;
 	unsigned int index;
-	status = 0;
 
+	status = 0;
 	tty = tty_port_tty_get(&port->port);
 	index = port->port_number;
 
@@ -1268,8 +1268,8 @@ static void qt_set_termios(struct tty_struct *tty,
 	if (I_IXOFF(tty) || I_IXON(tty)) {
 		unsigned char stop_char = STOP_CHAR(tty);
 		unsigned char start_char = START_CHAR(tty);
-		status =
-		    box_set_sw_flow_ctrl(port->serial, index, stop_char,
+
+		status = box_set_sw_flow_ctrl(port->serial, index, stop_char,
 				      start_char);
 		if (status < 0)
 			dev_dbg(&port->dev,
-- 
1.8.3.2



More information about the devel mailing list