From 476f6bc80ba98ce4feab8eb90ed389b6cd47d613 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Tue, 23 Sep 2014 09:21:38 +0900 Subject: [PATCH] staging: dgap: remove unused 'runwait' variable Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.c | 1 - drivers/staging/dgap/dgap.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index db8ccd12b70d..779d1443cb01 100644 --- a/drivers/staging/dgap/dgap.c +++ b/drivers/staging/dgap/dgap.c @@ -742,7 +742,6 @@ static struct board_t *dgap_found_board(struct pci_dev *pdev, int id, spin_lock_init(&brd->bd_lock); - brd->runwait = 0; brd->inhibit_poller = FALSE; brd->wait_for_bios = 0; brd->wait_for_fep = 0; diff --git a/drivers/staging/dgap/dgap.h b/drivers/staging/dgap/dgap.h index ba05c654fa61..14e2ed0fe39b 100644 --- a/drivers/staging/dgap/dgap.h +++ b/drivers/staging/dgap/dgap.h @@ -572,7 +572,6 @@ struct board_t { u8 __iomem *re_map_port; /* Remapped io port of the card */ u8 __iomem *re_map_membase;/* Remapped memory of the card */ - u8 runwait; /* # Processes waiting for FEP */ u8 inhibit_poller; /* Tells the poller to leave us alone */ struct channel_t *channels[MAXPORTS]; /* array of pointers to our */ -- 2.39.5