]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: dgap: remove unused waitqueues
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 4 Jul 2014 10:29:55 +0000 (19:29 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:02:16 +0000 (12:02 -0700)
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>
drivers/staging/dgap/dgap.c
drivers/staging/dgap/dgap.h

index b193d20c7daf700a46d7c3b9da21a563e04af5fb..e8d3c99880f5a1ed0211a7a8824f417e8b3fd200 100644 (file)
@@ -218,7 +218,6 @@ static uint dgap_numboards;
 static struct board_t *dgap_board[MAXBOARDS];
 static ulong dgap_poll_counter;
 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 struct class *dgap_class;
@@ -1200,8 +1199,6 @@ static void dgap_init_globals(void)
                dgap_board[i] = NULL;
 
        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,
 
 static int dgap_alloc_flipbuf(struct board_t *brd)
 {
-       /*
-        * Initialize KME waitqueues...
-        */
-       init_waitqueue_head(&brd->kme_wait);
-
        /*
         * allocate flip buffer for board.
         */
index c00b2e2ddc8d4154e65bc69adf452482ffaa8394..9728d59c94d15ac1f8711953986cca5f8b823054 100644 (file)
@@ -603,7 +603,6 @@ struct board_t {
                                        /* by DPA                         */
        u16             dpastatus;      /* The board "status", as defined */
                                        /* by DPA                         */
-       wait_queue_head_t kme_wait;     /* Needed for DPA support         */
 
        u32             conc_dl_status; /* Status of any pending conc     */
                                        /* download                       */