qcacmn: Cleanup DFS function and corresponding function pointer

Remove the function lmac_is_mode_offload and corresponding function pointer
dfs_is_mode_offload since it is not used by the DFS component.

Change-Id: Ie55f5c8dc89466fa992451373819d148680318f1
CRs-Fixed: 2252565
This commit is contained in:
Abhijit Pradhan
2018-06-04 16:07:08 +05:30
committed by nshrivas
parent 367a882dc9
commit 56fe2450b5
3 changed files with 0 additions and 25 deletions

View File

@@ -71,12 +71,6 @@ void lmac_dfs_enable(struct wlan_objmgr_pdev *pdev,
void lmac_dfs_get_thresholds(struct wlan_objmgr_pdev *pdev,
struct wlan_dfs_phyerr_param *param);
/**
* lmac_is_mode_offload() - Check the radio for offload.
* @pdev: Pointer to PDEV structure.
*/
bool lmac_is_mode_offload(struct wlan_objmgr_pdev *pdev);
/**
* lmac_get_ah_devid() - Get ah devid.
* @pdev: Pointer to PDEV structure.

View File

@@ -101,22 +101,6 @@ void lmac_dfs_get_thresholds(struct wlan_objmgr_pdev *pdev,
dfs_tx_ops->dfs_get_thresholds(pdev, param);
}
bool lmac_is_mode_offload(struct wlan_objmgr_pdev *pdev)
{
struct wlan_objmgr_psoc *psoc;
struct wlan_lmac_if_dfs_tx_ops *dfs_tx_ops;
bool is_offload = false;
psoc = wlan_pdev_get_psoc(pdev);
dfs_tx_ops = &psoc->soc_cb.tx_ops.dfs_tx_ops;
if (dfs_tx_ops->dfs_is_mode_offload)
dfs_tx_ops->dfs_is_mode_offload(pdev, &is_offload);
return is_offload;
}
uint16_t lmac_get_ah_devid(struct wlan_objmgr_pdev *pdev)
{
struct wlan_objmgr_psoc *psoc;