From: Daeseok Youn Date: Tue, 23 Sep 2014 00:21:38 +0000 (+0900) Subject: staging: dgap: remove unused 'runwait' variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=476f6bc80ba98ce4feab8eb90ed389b6cd47d613;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: dgap: remove unused 'runwait' variable Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- 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 */