staging: rtl8712: remove unused function
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 22 Jan 2015 06:39:16 +0000 (12:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:59:19 +0000 (19:59 +0800)
mp_query_drv_var() was only being used by
oid_rt_pro_query_dr_variable_hdl() but after commit
<f4f5a59ff2e746885be3c1c06c1d0e8861a10ce8> mp_query_drv_var() became
unused. so it is safe to remove it.

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

index 49fa1d1d46550cadc81e893aa8ced9464b76234d..0b5461208eb902637c2179d0a9782ccb5eb8b75f 100644 (file)
@@ -704,13 +704,6 @@ uint oid_rt_get_thermal_meter_hdl(struct oid_par_priv *poid_par_priv)
        return RNDIS_STATUS_SUCCESS;
 }
 
-/*--------------------------------------------------------------------------*/
-static u32 mp_query_drv_var(struct _adapter *padapter, u8 offset, u32 var)
-{
-       return var;
-}
-
-/*------------------------------------------------------------------------*/
 uint oid_rt_pro_read_efuse_hdl(struct oid_par_priv *poid_par_priv)
 {
        struct _adapter *Adapter = (struct _adapter *)