staging: comedi: serial2000: checkpatch.pl cleanup (missing blank line)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:02:01 +0000 (11:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:37:19 +0000 (13:37 -0700)
Fix the checkpatch.pl warning:

WARNING: Missing a blank line after declarations

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/serial2002.c

index 441813ffb175a58ae9a12c7019282c1130733d7e..162cfafcf8759c6d27aa75893abc2654f0a66c0c 100644 (file)
@@ -174,6 +174,7 @@ static int serial2002_tty_read(struct file *f, int timeout)
                } else {
                        /* Device does not support poll, busy wait */
                        int retries = 0;
+
                        while (1) {
                                retries++;
                                if (retries >= timeout)
@@ -311,6 +312,7 @@ static void serial2002_write(struct file *f, struct serial_data data)
        } else {
                unsigned char ch[6];
                int i = 0;
+
                if (data.value >= (1L << 30)) {
                        ch[i] = 0x80 | ((data.value >> 30) & 0x03);
                        i++;
This page took 0.025297 seconds and 5 git commands to generate.