From: Greg Kroah-Hartman Date: Mon, 15 Jan 2018 20:00:06 +0000 (+0100) Subject: staging: dgnc: delete serial_num board variable X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1971a951794855dccc562fc22fd379c684df657d;p=linux.git staging: dgnc: delete serial_num board variable No one was even ever setting the thing, so just remove it. Cc: Lidza Louina Cc: Mark Hounschell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index 043bbe20bf824..ac99cfd1b54b3 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;