staging: rtlwifi: Remove unused functions

Remove the five functions that are not used from the source and header
files. Issue found by Coccinelle's semantic patch results for
returnvar.cocci.

Signed-off-by: Maya Nakamura <m.maya.nakamura@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Maya Nakamura 2018-10-27 03:17:43 -07:00 committed by Greg Kroah-Hartman
parent f400dc6a66
commit 33593a9630
2 changed files with 0 additions and 45 deletions

View File

@ -1848,38 +1848,3 @@ void phydm_rx_phy_status_new_type(struct phy_dm_struct *phydm, u8 *phy_status,
/* Calculate average RSSI and smoothed RSSI */
phydm_process_rssi_for_dm_new_type(phydm, phy_info, pktinfo);
}
u32 query_phydm_trx_capability(struct phy_dm_struct *dm)
{
u32 value32 = 0xFFFFFFFF;
return value32;
}
u32 query_phydm_stbc_capability(struct phy_dm_struct *dm)
{
u32 value32 = 0xFFFFFFFF;
return value32;
}
u32 query_phydm_ldpc_capability(struct phy_dm_struct *dm)
{
u32 value32 = 0xFFFFFFFF;
return value32;
}
u32 query_phydm_txbf_parameters(struct phy_dm_struct *dm)
{
u32 value32 = 0xFFFFFFFF;
return value32;
}
u32 query_phydm_txbf_capability(struct phy_dm_struct *dm)
{
u32 value32 = 0xFFFFFFFF;
return value32;
}

View File

@ -484,14 +484,4 @@ struct phy_status_rpt_jaguar2_type2 {
#endif
};
u32 query_phydm_trx_capability(struct phy_dm_struct *dm);
u32 query_phydm_stbc_capability(struct phy_dm_struct *dm);
u32 query_phydm_ldpc_capability(struct phy_dm_struct *dm);
u32 query_phydm_txbf_parameters(struct phy_dm_struct *dm);
u32 query_phydm_txbf_capability(struct phy_dm_struct *dm);
#endif /*#ifndef __HALHWOUTSRC_H__*/