mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
10b799d2fe
commit
ad9f81f0b5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user