[PATCH 08/10] staging: dgnc: delete serial_num board variable
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Mon Jan 15 20:00:06 UTC 2018
No one was even ever setting the thing, so just remove it.
Cc: Lidza Louina <lidza.louina at gmail.com>
Cc: Mark Hounschell <markh at compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
drivers/staging/dgnc/dgnc_driver.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h
index 043bbe20bf82..ac99cfd1b54b 100644
--- a/drivers/staging/dgnc/dgnc_driver.h
+++ b/drivers/staging/dgnc/dgnc_driver.h
@@ -96,7 +96,6 @@ struct board_ops {
* @device: PCI device ID.
* @maxports: Maximum ports this board can handle.
* @vpd: VPD of this board, if found.
- * @serial_num: Serial number of this board, if found in VPD.
* @bd_lock: Used to protect board.
* @bd_intr_lock: Protect poller tasklet and interrupt routine from each other.
* @state: State of the card.
@@ -124,7 +123,6 @@ struct dgnc_board {
u16 device;
uint maxports;
unsigned char vpd[128];
- unsigned char serial_num[20];
/* used to protect the board */
spinlock_t bd_lock;
--
2.15.1
More information about the devel
mailing list