Commit 96afd186 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: serial2000: checkpatch.pl cleanup (missing blank line)

Fix the checkpatch.pl warning:

WARNING: Missing a blank line after declarations
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f06d145f
...@@ -174,6 +174,7 @@ static int serial2002_tty_read(struct file *f, int timeout) ...@@ -174,6 +174,7 @@ static int serial2002_tty_read(struct file *f, int timeout)
} else { } else {
/* Device does not support poll, busy wait */ /* Device does not support poll, busy wait */
int retries = 0; int retries = 0;
while (1) { while (1) {
retries++; retries++;
if (retries >= timeout) if (retries >= timeout)
...@@ -311,6 +312,7 @@ static void serial2002_write(struct file *f, struct serial_data data) ...@@ -311,6 +312,7 @@ static void serial2002_write(struct file *f, struct serial_data data)
} else { } else {
unsigned char ch[6]; unsigned char ch[6];
int i = 0; int i = 0;
if (data.value >= (1L << 30)) { if (data.value >= (1L << 30)) {
ch[i] = 0x80 | ((data.value >> 30) & 0x03); ch[i] = 0x80 | ((data.value >> 30) & 0x03);
i++; i++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment