diff options
author | Ian Abbott | 2013-08-23 14:45:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-08-26 06:41:56 -0700 |
commit | ad9f81f0b591986db6db1f750d7203db2d33c040 (patch) | |
tree | 22557e047ee1db829976a25bc694e2075f422425 | |
parent | 10b799d2fe7c004f204b833818486544080441d2 (diff) |
staging: comedi: comedi_bond: remove unused subdev_type
The `subdev_type` member of `struct bonded_device` is set but not used.
Remove it.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/comedi_bond.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/comedi_bond.c b/drivers/staging/comedi/drivers/comedi_bond.c index 493fdb7dee50..ab5451ec3480 100644 --- a/drivers/staging/comedi/drivers/comedi_bond.c +++ b/drivers/staging/comedi/drivers/comedi_bond.c @@ -57,7 +57,6 @@ struct bonded_device { struct comedi_device *dev; unsigned minor; unsigned subdev; - unsigned subdev_type; unsigned nchans; }; @@ -253,7 +252,6 @@ static int do_dev_config(struct comedi_device *dev, struct comedi_devconfig *it) bdev->dev = d; bdev->minor = minor; bdev->subdev = sdev; - bdev->subdev_type = COMEDI_SUBD_DIO; bdev->nchans = nchans; devpriv->nchans += nchans; |