staging: dgap: remove unused 'runwait' variable
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 23 Sep 2014 00:21:38 +0000 (09:21 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:39:24 +0000 (23:39 -0700)
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c
drivers/staging/dgap/dgap.h

index db8ccd1..779d144 100644 (file)
@@ -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;
index ba05c65..14e2ed0 100644 (file)
@@ -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 */