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

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/das16.c

index 2feecf1..d92cc18 100644 (file)
@@ -506,18 +506,18 @@ static void das16_ai_disable(struct comedi_device *dev)
 static int disable_dma_on_even(struct comedi_device *dev)
 {
        struct das16_private_struct *devpriv = dev->private;
-       int residue;
-       int i;
        static const int disable_limit = 100;
        static const int enable_timeout = 100;
+       int residue;
+       int new_residue;
+       int i;
+       int j;
 
        disable_dma(devpriv->dma_chan);
        residue = get_dma_residue(devpriv->dma_chan);
        for (i = 0; i < disable_limit && (residue % 2); ++i) {
-               int j;
                enable_dma(devpriv->dma_chan);
                for (j = 0; j < enable_timeout; ++j) {
-                       int new_residue;
                        udelay(2);
                        new_residue = get_dma_residue(devpriv->dma_chan);
                        if (new_residue != residue)