OSDN Git Service

staging: dgnc: delete serial_num board variable
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Jan 2018 20:00:06 +0000 (21:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 14:02:56 +0000 (15:02 +0100)
No one was even ever setting the thing, so just remove it.

Cc: Lidza Louina <lidza.louina@gmail.com>
Cc: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.h

index 043bbe2..ac99cfd 100644 (file)
@@ -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;