staging: rtl8188eu: remove unused function
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 7 Aug 2015 10:36:33 +0000 (16:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Aug 2015 22:17:59 +0000 (15:17 -0700)
The function rtw_init_recvframe() was not being used.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c

index c011dc85436d718d7998be415541a0d3e272f48b..0bb5cccb967b473af9ddfd9e80bd71debdba887b 100644 (file)
@@ -166,14 +166,6 @@ struct recv_frame *rtw_alloc_recvframe(struct __queue *pfree_recv_queue)
        return precvframe;
 }
 
-void rtw_init_recvframe(struct recv_frame *precvframe, struct recv_priv *precvpriv)
-{
-       /* Perry: This can be removed */
-       INIT_LIST_HEAD(&precvframe->list);
-
-       precvframe->len = 0;
-}
-
 int rtw_free_recvframe(struct recv_frame *precvframe,
                       struct __queue *pfree_recv_queue)
 {