staging: comedi: comedi_bond: remove unused subdev_type
authorIan Abbott <abbotti@mev.co.uk>
Fri, 23 Aug 2013 13:45:04 +0000 (14:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Aug 2013 13:41:56 +0000 (06:41 -0700)
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>
drivers/staging/comedi/drivers/comedi_bond.c

index 493fdb7..ab5451e 100644 (file)
@@ -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;