Commit f4f5a59f authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Greg Kroah-Hartman

staging: rtl8712: rtl871x_mp_ioctl.c: Remove some unused functions

Removes some functions that are not used anywhere:
oid_rt_pro_h2c_get_rate_table_hdl() oid_rt_pro_h2c_set_rate_table_hdl()
oid_rt_pro_set_pwrstate_hdl() oid_rt_pro_qry_pwrstate_hdl()
oid_rt_pro_set_basic_rate_hdl() oid_rt_pro_set_power_tracking_hdl()
oid_rt_pro_set_data_rate_ex_hdl() oid_rt_pro_cfg_debug_message_hdl()
oid_rt_poll_rx_status_hdl() oid_rt_pro_set_rf_intfs_hdl()
oid_rt_wr_attrib_mem_hdl() oid_rt_rd_attrib_mem_hdl()
oid_rt_pro8711_pkt_loss_hdl() oid_rt_pro8711_wi_poll_hdl()
oid_rt_pro_write16_eeprom_hdl() oid_rt_pro_read16_eeprom_hdl()
oid_rt_pro_write_txcmd_hdl() oid_rt_pro_burst_write_register_hdl()
oid_rt_pro_burst_read_register_hdl() oid_rt_pro8711_join_bss_hdl()
oid_rt_pro_set_pkt_test_mode_hdl() oid_rt_pro_set_tx_agc_offset_hdl()
oid_rt_set_crystal_cap_hdl() oid_rt_pro_rw_efuse_pgpkt_hdl()
oid_rt_pro_rx_packet_type_hdl() oid_rt_pro_query_dr_variable_hdl()
oid_rt_pro_dele_sta_info_hdl() oid_rt_pro_add_sta_info_hdl()
oid_rt_pro_encryption_ctrl_hdl()

This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2fd8feab
This diff is collapsed.
......@@ -86,41 +86,8 @@ struct DR_VARIABLE_STRUCT {
int mp_start_joinbss(struct _adapter *padapter, struct ndis_802_11_ssid *pssid);
/* oid_rtl_seg_87_11_00 */
uint oid_rt_pro8711_join_bss_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_read_register_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_write_register_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_burst_read_register_hdl(struct oid_par_priv*
poid_par_priv);
uint oid_rt_pro_burst_write_register_hdl(struct oid_par_priv*
poid_par_priv);
uint oid_rt_pro_write_txcmd_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_read16_eeprom_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_write16_eeprom_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro8711_wi_poll_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro8711_pkt_loss_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_rd_attrib_mem_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_wr_attrib_mem_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_set_rf_intfs_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_poll_rx_status_hdl(struct oid_par_priv *poid_par_priv);
/* oid_rtl_seg_87_11_20 */
uint oid_rt_pro_cfg_debug_message_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_set_data_rate_ex_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_set_basic_rate_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_set_power_tracking_hdl(
struct oid_par_priv *poid_par_priv);
/* oid_rtl_seg_87_11_50 */
uint oid_rt_pro_qry_pwrstate_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_set_pwrstate_hdl(
struct oid_par_priv *poid_par_priv);
/* oid_rtl_seg_87_11_F0 */
uint oid_rt_pro_h2c_set_rate_table_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_h2c_get_rate_table_hdl(
struct oid_par_priv *poid_par_priv);
/* oid_rtl_seg_81_80_00 */
uint oid_rt_pro_set_data_rate_hdl(
struct oid_par_priv *poid_par_priv);
......@@ -159,28 +126,15 @@ uint oid_rt_pro_write_rf_reg_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_read_rf_reg_hdl(struct oid_par_priv *poid_par_priv);
/* oid_rtl_seg_81_85 */
uint oid_rt_wireless_mode_hdl(struct oid_par_priv *poid_par_priv);
/* oid_rtl_seg_87_12_00 */
uint oid_rt_pro_encryption_ctrl_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_add_sta_info_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_dele_sta_info_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_query_dr_variable_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_rx_packet_type_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_read_efuse_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_write_efuse_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_rw_efuse_pgpkt_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_get_efuse_current_size_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_efuse_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_efuse_map_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_set_bandwidth_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_set_crystal_cap_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_set_rx_packet_type_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_get_efuse_max_size_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_set_tx_agc_offset_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_set_pkt_test_mode_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_get_thermal_meter_hdl(
struct oid_par_priv *poid_par_priv);
uint oid_rt_reset_phy_rx_packet_count_hdl(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment