Commit 32af5ae7 authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman

staging: dgap: remove unused waitqueues

dgap_dl_wait and kme_wait are not used in dgap.
Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77343eb9
...@@ -218,7 +218,6 @@ static uint dgap_numboards; ...@@ -218,7 +218,6 @@ static uint dgap_numboards;
static struct board_t *dgap_board[MAXBOARDS]; static struct board_t *dgap_board[MAXBOARDS];
static ulong dgap_poll_counter; static ulong dgap_poll_counter;
static int dgap_driver_state = DRIVER_INITIALIZED; static int dgap_driver_state = DRIVER_INITIALIZED;
static wait_queue_head_t dgap_dl_wait;
static int dgap_poll_tick = 20; /* Poll interval - 20 ms */ static int dgap_poll_tick = 20; /* Poll interval - 20 ms */
static struct class *dgap_class; static struct class *dgap_class;
...@@ -1200,8 +1199,6 @@ static void dgap_init_globals(void) ...@@ -1200,8 +1199,6 @@ static void dgap_init_globals(void)
dgap_board[i] = NULL; dgap_board[i] = NULL;
init_timer(&dgap_poll_timer); init_timer(&dgap_poll_timer);
init_waitqueue_head(&dgap_dl_wait);
} }
/************************************************************************ /************************************************************************
...@@ -4161,11 +4158,6 @@ static int dgap_tty_ioctl(struct tty_struct *tty, unsigned int cmd, ...@@ -4161,11 +4158,6 @@ static int dgap_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
static int dgap_alloc_flipbuf(struct board_t *brd) static int dgap_alloc_flipbuf(struct board_t *brd)
{ {
/*
* Initialize KME waitqueues...
*/
init_waitqueue_head(&brd->kme_wait);
/* /*
* allocate flip buffer for board. * allocate flip buffer for board.
*/ */
......
...@@ -603,7 +603,6 @@ struct board_t { ...@@ -603,7 +603,6 @@ struct board_t {
/* by DPA */ /* by DPA */
u16 dpastatus; /* The board "status", as defined */ u16 dpastatus; /* The board "status", as defined */
/* by DPA */ /* by DPA */
wait_queue_head_t kme_wait; /* Needed for DPA support */
u32 conc_dl_status; /* Status of any pending conc */ u32 conc_dl_status; /* Status of any pending conc */
/* download */ /* download */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment