diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-15 21:00:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-17 15:02:56 +0100 |
commit | 1971a951794855dccc562fc22fd379c684df657d (patch) | |
tree | 8b7f842f68d9de4dd74ea3af3a3759f0788ee385 /drivers/staging/dgnc | |
parent | staging: dgnc: delete a bunch of PCI board variables (diff) | |
download | linux-dev-1971a951794855dccc562fc22fd379c684df657d.tar.xz linux-dev-1971a951794855dccc562fc22fd379c684df657d.zip |
staging: dgnc: delete serial_num board variable
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>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_driver.h | 2 |
1 files changed, 0 insertions, 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; |