Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: dgap: remove unused waitqueues

dgap_dl_wait and kme_wait are not used in dgap.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Daeseok Youn and committed by
Greg Kroah-Hartman
32af5ae7 77343eb9

-9
-8
drivers/staging/dgap/dgap.c
··· 218 218 static struct board_t *dgap_board[MAXBOARDS]; 219 219 static ulong dgap_poll_counter; 220 220 static int dgap_driver_state = DRIVER_INITIALIZED; 221 - static wait_queue_head_t dgap_dl_wait; 222 221 static int dgap_poll_tick = 20; /* Poll interval - 20 ms */ 223 222 224 223 static struct class *dgap_class; ··· 1199 1200 dgap_board[i] = NULL; 1200 1201 1201 1202 init_timer(&dgap_poll_timer); 1202 - 1203 - init_waitqueue_head(&dgap_dl_wait); 1204 1203 } 1205 1204 1206 1205 /************************************************************************ ··· 4158 4161 4159 4162 static int dgap_alloc_flipbuf(struct board_t *brd) 4160 4163 { 4161 - /* 4162 - * Initialize KME waitqueues... 4163 - */ 4164 - init_waitqueue_head(&brd->kme_wait); 4165 - 4166 4164 /* 4167 4165 * allocate flip buffer for board. 4168 4166 */
-1
drivers/staging/dgap/dgap.h
··· 603 603 /* by DPA */ 604 604 u16 dpastatus; /* The board "status", as defined */ 605 605 /* by DPA */ 606 - wait_queue_head_t kme_wait; /* Needed for DPA support */ 607 606 608 607 u32 conc_dl_status; /* Status of any pending conc */ 609 608 /* download */