The `bustype` member of `struct pc236_board` variables is initialized,
but never used. Remove it along with the enumerated constants
associated with it.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
static const struct pc236_board pc236_boards[] = {
{
.name = "pc36at",
- .bustype = isa_bustype,
},
};
struct comedi_device;
-enum pc236_bustype { isa_bustype, pci_bustype };
-
struct pc236_board {
const char *name;
- enum pc236_bustype bustype;
void (*intr_update_cb)(struct comedi_device *dev, bool enable);
bool (*intr_chk_clr_cb)(struct comedi_device *dev);
};
.name = "pci236",
.intr_update_cb = pci236_intr_update_cb,
.intr_chk_clr_cb = pci236_intr_chk_clr_cb,
- .bustype = pci_bustype,
};
static int pci236_auto_attach(struct comedi_device *dev,