staging: rtlwifi: Remove unused functions
authorMaya Nakamura <m.maya.nakamura@gmail.com>
Sat, 27 Oct 2018 10:17:43 +0000 (03:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2018 13:16:33 +0000 (14:16 +0100)
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>
drivers/staging/rtlwifi/phydm/phydm_hwconfig.c
drivers/staging/rtlwifi/phydm/phydm_hwconfig.h

index 1b05db36e279fb1ec8e92190c184d5c3b3179671..e1544e38944b834b4907b3ef2de6129f60cee78a 100644 (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;
-}
index c9833889688c08113f777c9ec8b81894ce845f03..ee4b9f0af2a10d2586451fc65452c3c5360eb9de 100644 (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__*/