Commit 71a74bd9 authored by Bruce Beare's avatar Bruce Beare Committed by Greg Kroah-Hartman
Browse files

Staging: comedi: pcmad: Cleanup: Remove unneeded braces

parent 90454a28
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -113,10 +113,9 @@ static int pcmad_ai_insn_read(struct comedi_device *dev,
		data[n] = inb(dev->iobase + PCMAD_LSB);
		data[n] |= (inb(dev->iobase + PCMAD_MSB) << 8);

		if (devpriv->twos_comp) {
		if (devpriv->twos_comp)
			data[n] ^= (1 << (this_board->n_ai_bits - 1));
	}
	}

	return n;
}
@@ -168,9 +167,8 @@ static int pcmad_detach(struct comedi_device *dev)
{
	printk("comedi%d: pcmad: remove\n", dev->minor);

	if (dev->irq) {
	if (dev->irq)
		free_irq(dev->irq, dev);
	}
	if (dev->iobase)
		release_region(dev->iobase, PCMAD_SIZE);