From: H Hartley Sweeten Date: Wed, 16 Jul 2014 18:01:55 +0000 (-0700) Subject: staging: comedi: das16: checkpatch.pl cleanup (missing blank line) X-Git-Tag: v3.17-rc1~123^2~624 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d7e31e5661aa9b6f945f2cf3aa57442a92d2f5d9;p=karo-tx-linux.git staging: comedi: das16: checkpatch.pl cleanup (missing blank line) Fix thess checkpatch.pl warnings: WARNING: Missing a blank line after declarations Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/das16.c b/drivers/staging/comedi/drivers/das16.c index 2feecf199f27..d92cc181112d 100644 --- a/drivers/staging/comedi/drivers/das16.c +++ b/drivers/staging/comedi/drivers/das16.c @@ -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)