staging: comedi: Remove unwanted lines of code
This patch removes a few lines of code & retains the same functionality Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
eb340acaca
commit
e6f2804d58
@ -164,11 +164,7 @@ static int cb_pcimdda_auto_attach(struct comedi_device *dev,
|
||||
|
||||
s = &dev->subdevices[1];
|
||||
/* digital i/o subdevice */
|
||||
ret = subdev_8255_init(dev, s, NULL, PCIMDDA_8255_BASE_REG);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
return subdev_8255_init(dev, s, NULL, PCIMDDA_8255_BASE_REG);
|
||||
}
|
||||
|
||||
static struct comedi_driver cb_pcimdda_driver = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user