qcacmn: Fix compile error while enable CONFIG_REMOVE_PKT_LOG

Cleanup the code to fix the compile error while setting
CONFIG_REMOVE_PKT_LOG=y & CONFIG_WDI_EVENT_ENABLE=n
with Hasting

Change-Id: I493fbddec865fe20789022445b0f155201772119
这个提交包含在:
Chaoli Zhou
2020-07-01 19:08:36 +08:00
提交者 nshrivas
父节点 f2d33c938b
当前提交 7c40c9d475
修改 4 个文件,包含 34 行新增24 行删除

查看文件

@@ -4418,6 +4418,7 @@ void dp_peer_stats_update_protocol_cnt(struct cdp_soc_t *soc,
}
#endif
#ifdef WDI_EVENT_ENABLE
QDF_STATUS dp_peer_stats_notify(struct dp_pdev *dp_pdev, struct dp_peer *peer)
{
struct cdp_interface_peer_stats peer_stats_intf;
@@ -4452,6 +4453,7 @@ QDF_STATUS dp_peer_stats_notify(struct dp_pdev *dp_pdev, struct dp_peer *peer)
return QDF_STATUS_SUCCESS;
}
#endif
#ifdef QCA_ENH_V3_STATS_SUPPORT
/**