From: Ian Abbott Date: Mon, 1 Sep 2014 11:03:34 +0000 (+0100) Subject: staging: comedi: amplc_pci230: don't use multiple blank lines X-Git-Tag: v3.18-rc1~130^2~832 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a4869826926197d75bb568131fb8a51627669401;p=karo-tx-linux.git staging: comedi: amplc_pci230: don't use multiple blank lines Fix checkpatch issues: "CHECK: Please don't use multiple blank lines". Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/amplc_pci230.c b/drivers/staging/comedi/drivers/amplc_pci230.c index d077254f4656..09b392bbc541 100644 --- a/drivers/staging/comedi/drivers/amplc_pci230.c +++ b/drivers/staging/comedi/drivers/amplc_pci230.c @@ -864,7 +864,6 @@ static int pci230_ai_rinsn(struct comedi_device *dev, else adccon |= PCI230_ADC_IR_UNI; - /* * Enable only this channel in the scan list - otherwise by default * we'll get one sample from each channel. @@ -2295,7 +2294,6 @@ static int pci230_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) if (!get_resources(dev, res_mask, OWNER_AICMD)) return -EBUSY; - /* Get number of scans required. */ if (cmd->stop_src == TRIG_COUNT) devpriv->ai_scan_count = cmd->stop_arg; @@ -2487,7 +2485,6 @@ static irqreturn_t pci230_interrupt(int irq, void *d) if (status_int == PCI230_INT_DISABLE) return IRQ_NONE; - spin_lock_irqsave(&devpriv->isr_spinlock, irqflags); valid_status_int = devpriv->int_en & status_int; /*