Commit 916d7028 authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

staging: comedi: amplc_pc236: Remove unused fancy_name

Remove fancy_name member from struct pc236_board.  It is initialized in
pc235_boards[] but not used anywhere else.
Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 62bc23d1
...@@ -98,7 +98,6 @@ enum pc236_model { pc36at_model, pci236_model, anypci_model }; ...@@ -98,7 +98,6 @@ enum pc236_model { pc36at_model, pci236_model, anypci_model };
struct pc236_board { struct pc236_board {
const char *name; const char *name;
const char *fancy_name;
unsigned short devid; unsigned short devid;
enum pc236_bustype bustype; enum pc236_bustype bustype;
enum pc236_model model; enum pc236_model model;
...@@ -106,27 +105,24 @@ struct pc236_board { ...@@ -106,27 +105,24 @@ struct pc236_board {
static const struct pc236_board pc236_boards[] = { static const struct pc236_board pc236_boards[] = {
#if IS_ENABLED(CONFIG_COMEDI_AMPLC_PC236_ISA) #if IS_ENABLED(CONFIG_COMEDI_AMPLC_PC236_ISA)
{ {
.name = "pc36at", .name = "pc36at",
.fancy_name = "PC36AT", .bustype = isa_bustype,
.bustype = isa_bustype, .model = pc36at_model,
.model = pc36at_model, },
},
#endif #endif
#if IS_ENABLED(CONFIG_COMEDI_AMPLC_PC236_PCI) #if IS_ENABLED(CONFIG_COMEDI_AMPLC_PC236_PCI)
{ {
.name = "pci236", .name = "pci236",
.fancy_name = "PCI236", .devid = PCI_DEVICE_ID_AMPLICON_PCI236,
.devid = PCI_DEVICE_ID_AMPLICON_PCI236, .bustype = pci_bustype,
.bustype = pci_bustype, .model = pci236_model,
.model = pci236_model, },
},
{ {
.name = PC236_DRIVER_NAME, .name = PC236_DRIVER_NAME,
.fancy_name = PC236_DRIVER_NAME, .devid = PCI_DEVICE_ID_INVALID,
.devid = PCI_DEVICE_ID_INVALID, .bustype = pci_bustype,
.bustype = pci_bustype, .model = anypci_model, /* wildcard */
.model = anypci_model, /* wildcard */ },
},
#endif #endif
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment