Skip to content

Commit 476f6bc

Browse files
daeseokyoungregkh
authored andcommitted
staging: dgap: remove unused 'runwait' variable
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d40f0d8 commit 476f6bc

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/staging/dgap/dgap.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,6 @@ static struct board_t *dgap_found_board(struct pci_dev *pdev, int id,
742742

743743
spin_lock_init(&brd->bd_lock);
744744

745-
brd->runwait = 0;
746745
brd->inhibit_poller = FALSE;
747746
brd->wait_for_bios = 0;
748747
brd->wait_for_fep = 0;

‎drivers/staging/dgap/dgap.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ struct board_t {
572572
u8 __iomem *re_map_port; /* Remapped io port of the card */
573573
u8 __iomem *re_map_membase;/* Remapped memory of the card */
574574

575-
u8 runwait; /* # Processes waiting for FEP */
576575
u8 inhibit_poller; /* Tells the poller to leave us alone */
577576

578577
struct channel_t *channels[MAXPORTS]; /* array of pointers to our */

0 commit comments

Comments
 (0)