staging: rtl8188eu: Remove wrapper function _rtw_reordering_ctrl_timeout_handler()
authornavin patidar <navin.patidar@gmail.com>
Mon, 28 Jul 2014 17:41:30 +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/os_dep/recv_linux.c

index f7d53dd370b7469c7cc6688bd166e3687f1edfa7..05427c489b3f7d6010c79660b3de8803976565eb 100644 (file)
@@ -191,17 +191,9 @@ _recv_indicatepkt_drop:
         return _FAIL;
 }
 
-static void _rtw_reordering_ctrl_timeout_handler(void *func_context)
-{
-       struct recv_reorder_ctrl *preorder_ctrl;
-
-       preorder_ctrl = (struct recv_reorder_ctrl *)func_context;
-       rtw_reordering_ctrl_timeout_handler(preorder_ctrl);
-}
-
 void rtw_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl)
 {
        struct adapter *padapter = preorder_ctrl->padapter;
 
-       _init_timer(&(preorder_ctrl->reordering_ctrl_timer), padapter->pnetdev, _rtw_reordering_ctrl_timeout_handler, preorder_ctrl);
+       _init_timer(&(preorder_ctrl->reordering_ctrl_timer), padapter->pnetdev, rtw_reordering_ctrl_timeout_handler, preorder_ctrl);
 }