staging: rtl8723au: Remove rtw_free_cmd_priv23a()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:12 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:56 +0000 (13:11 -0700)
This function no longer does anything, so get rid of it.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c
drivers/staging/rtl8723au/include/rtw_cmd.h
drivers/staging/rtl8723au/os_dep/os_intfs.c

index ec4533d155d315288397e4152eb760a04a8b5ac5..fb6d4b662ecc1d5d713fe83a7588b807e089bba1 100644 (file)
@@ -217,12 +217,6 @@ void rtw_free_evt_priv23a(struct evt_priv *pevtpriv)
        }
 }
 
-void rtw_free_cmd_priv23a(struct cmd_priv *pcmdpriv)
-{
-       RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_,
-                ("rtw_free_cmd_priv23a\n"));
-}
-
 static int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
 {
        struct drvextra_cmd_parm *pdrvextra_cmd_parm;
index 7c6858436e67b649372acf9d4a2c068a52361679..5c3b46b8e8076beb56fcab28550df04d5b1c6409 100644 (file)
@@ -87,7 +87,6 @@ void rtw_free_cmd_obj23a(struct cmd_obj *pcmd);
 int rtw_cmd_thread23a(void *context);
 
 int rtw_init_cmd_priv23a(struct cmd_priv *pcmdpriv);
-void rtw_free_cmd_priv23a (struct cmd_priv *pcmdpriv);
 
 u32 rtw_init_evt_priv23a (struct evt_priv *pevtpriv);
 void rtw_free_evt_priv23a (struct evt_priv *pevtpriv);
index 7c4c0a54b238c0d70687638e2ff86e944ca8593f..f21128cd9ccfea223647f969b314e20abfa5d6c4 100644 (file)
@@ -570,8 +570,6 @@ u8 rtw_free_drv_sw23a(struct rtw_adapter *padapter)
 
        free_mlme_ext_priv23a(&padapter->mlmeextpriv);
 
-       rtw_free_cmd_priv23a(&padapter->cmdpriv);
-
        rtw_free_evt_priv23a(&padapter->evtpriv);
 
        rtw_free_mlme_priv23a(&padapter->mlmepriv);