staging: rtl8188eu: Remove function rtw_enqueue_recvbuf_to_head()
authornavin patidar <navin.patidar@gmail.com>
Sat, 3 May 2014 11:45:19 +0000 (17:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 May 2014 00:29:09 +0000 (20:29 -0400)
rtw_enqueue_recvbuf_to_head() is not being used by driver.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c
drivers/staging/rtl8188eu/include/rtw_recv.h

index eac526012d5f7e7d1ed5709915bf6e860f49dd33..21aa89d19abd496ed0ab78aa50847ad10416a384 100644 (file)
@@ -289,18 +289,6 @@ u32 rtw_free_uc_swdec_pending_queue(struct adapter *adapter)
        return cnt;
 }
 
-int rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue)
-{
-       spin_lock_bh(&queue->lock);
-
-       rtw_list_delete(&precvbuf->list);
-       rtw_list_insert_head(&precvbuf->list, get_list_head(queue));
-
-       spin_unlock_bh(&queue->lock);
-
-       return _SUCCESS;
-}
-
 int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue)
 {
        unsigned long irqL;
index 7b958606920fd52d96c2da2d133705075e350db8..21ce405c87e4abe4a1e36b625b0aab2a0d620b90 100644 (file)
@@ -302,7 +302,6 @@ int rtw_enqueue_recvframe(struct recv_frame *precvframe, struct __queue *queue);
 void rtw_free_recvframe_queue(struct __queue *pframequeue,
                              struct __queue *pfree_recv_queue);
 u32 rtw_free_uc_swdec_pending_queue(struct adapter *adapter);
-int rtw_enqueue_recvbuf_to_head(struct recv_buf *buf, struct __queue *queue);
 int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue);
 
 void rtw_reordering_ctrl_timeout_handler(void *pcontext);