[PATCH 08/11] staging: comedi: amplc_pc263: Remove unused fancy_name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove fancy_name member from struct pc263_board.  It is initialized in
pc263_boards[] but not used anywhere else.

Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx>
---
 drivers/staging/comedi/drivers/amplc_pc263.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/comedi/drivers/amplc_pc263.c b/drivers/staging/comedi/drivers/amplc_pc263.c
index 1bbb5ab..23e896b 100644
--- a/drivers/staging/comedi/drivers/amplc_pc263.c
+++ b/drivers/staging/comedi/drivers/amplc_pc263.c
@@ -67,7 +67,6 @@ enum pc263_model { pc263_model, pci263_model, anypci_model };
 
 struct pc263_board {
 	const char *name;
-	const char *fancy_name;
 	unsigned short devid;
 	enum pc263_bustype bustype;
 	enum pc263_model model;
@@ -76,7 +75,6 @@ static const struct pc263_board pc263_boards[] = {
 #if IS_ENABLED(CONFIG_COMEDI_AMPLC_PC263_ISA)
 	{
 		.name = "pc263",
-		.fancy_name = "PC263",
 		.bustype = isa_bustype,
 		.model = pc263_model,
 	},
@@ -84,14 +82,12 @@ static const struct pc263_board pc263_boards[] = {
 #if IS_ENABLED(CONFIG_COMEDI_AMPLC_PC263_PCI)
 	{
 		.name = "pci263",
-		.fancy_name = "PCI263",
 		.devid = PCI_DEVICE_ID_AMPLICON_PCI263,
 		.bustype = pci_bustype,
 		.model = pci263_model,
 	},
 	{
 		.name = PC263_DRIVER_NAME,
-		.fancy_name = PC263_DRIVER_NAME,
 		.devid = PCI_DEVICE_ID_INVALID,
 		.bustype = pci_bustype,
 		.model = anypci_model,	/* wildcard */
-- 
1.7.8.6

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux