staging: rtl8188eu: Remove unused function rtw_os_read_port()
authornavin patidar <navin.patidar@gmail.com>
Mon, 28 Jul 2014 17:41:29 +0000 (23:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jul 2014 00:16:10 +0000 (17:16 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/recv_osdep.h
drivers/staging/rtl8188eu/os_dep/recv_linux.c

index a52a6960b8e13e937a988ae8cf5197bf012ede13..5aabd3984e5824c0abbecac6f31d507582ed7ef2 100644 (file)
@@ -43,8 +43,6 @@ int rtw_os_recv_resource_alloc(struct adapter *adapt,
 
 int rtw_os_recvbuf_resource_alloc(struct adapter *adapt, struct recv_buf *buf);
 
-void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf);
-
 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
 int _netdev_open(struct net_device *pnetdev);
 int netdev_open(struct net_device *pnetdev);
index f8ac996cc8b6162b38795402f56d80194c156cf2..f7d53dd370b7469c7cc6688bd166e3687f1edfa7 100644 (file)
@@ -191,18 +191,6 @@ _recv_indicatepkt_drop:
         return _FAIL;
 }
 
-void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf)
-{
-       struct recv_priv *precvpriv = &padapter->recvpriv;
-
-       /* free skb in recv_buf */
-       dev_kfree_skb_any(precvbuf->pskb);
-       precvbuf->pskb = NULL;
-       precvbuf->reuse = false;
-       usb_read_port(padapter, precvpriv->ff_hwaddr, 0,
-                       (unsigned char *)precvbuf);
-}
-
 static void _rtw_reordering_ctrl_timeout_handler(void *func_context)
 {
        struct recv_reorder_ctrl *preorder_ctrl;