qcacmn: Remove unnecessary flags

Remove the unnecessary compilation flags from cmn_dev

Change-Id: I39cb16122d1db930f1c759e206daedf85eebf612
Crs-fixed: 1075597
Tento commit je obsažen v:
Nandha Kishore Easwaran
2016-11-04 13:12:25 +05:30
odevzdal qcabuildsw
rodič e5444bc96d
revize 2906ce1943
6 změnil soubory, kde provedl 2 přidání a 64 odebrání

Zobrazit soubor

@@ -36,7 +36,6 @@
/* Need to rename the function to reflect the functionality "show" / "display"
* WIN -- to figure out whether to change OSIF to converge (not an immediate AI)
* */
#if WLAN_FEATURE_FASTPATH
static inline int cdp_host_stats_get(ol_txrx_soc_handle soc,
void *vdev,
struct ol_txrx_stats_req *req)
@@ -101,7 +100,6 @@ cdp_disable_enhanced_stats(ol_txrx_soc_handle soc, void *pdev)
return;
}
#if ENHANCED_STATS
/**
* @brief Get the desired stats from the message.
*
@@ -119,9 +117,6 @@ static inline uint32_t *cdp_get_stats_base
(pdev, stats_base, msg_len, type);
return 0;
}
#endif
#endif /* WLAN_FEATURE_FASTPATH*/
#if (HOST_SW_TSO_ENABLE || HOST_SW_TSO_SG_ENABLE)
static inline void
cdp_tx_print_tso_stats(ol_txrx_soc_handle soc,
void *vdev)
@@ -138,9 +133,7 @@ cdp_tx_rst_tso_stats(ol_txrx_soc_handle soc, void *vdev)
return soc->ops->host_stats_ops->tx_rst_tso_stats(vdev);
return;
}
#endif /* HOST_SW_TSO_ENABLE || HOST_SW_TSO_SG_ENABLE */
#if HOST_SW_SG_ENABLE
static inline void
cdp_tx_print_sg_stats(ol_txrx_soc_handle soc,
void *vdev)
@@ -157,9 +150,7 @@ cdp_tx_rst_sg_stats(ol_txrx_soc_handle soc, void *vdev)
return soc->ops->host_stats_ops->tx_rst_sg_stats(vdev);
return;
}
#endif /* HOST_SW_SG_ENABLE */
#if RX_CHECKSUM_OFFLOAD
static inline void
cdp_print_rx_cksum_stats(ol_txrx_soc_handle soc,
void *vdev)
@@ -176,9 +167,7 @@ cdp_rst_rx_cksum_stats(ol_txrx_soc_handle soc, void *vdev)
return soc->ops->host_stats_ops->rst_rx_cksum_stats(vdev);
return;
}
#endif /* RX_CHECKSUM_OFFLOAD */
#if (ATH_SUPPORT_IQUE && WLAN_FEATURE_FASTPATH)
static inline A_STATUS
cdp_host_me_stats(ol_txrx_soc_handle soc, void *vdev)
{
@@ -186,8 +175,6 @@ cdp_host_me_stats(ol_txrx_soc_handle soc, void *vdev)
return soc->ops->host_stats_ops->txrx_host_me_stats(vdev);
return 0;
}
#endif /* WLAN_FEATURE_FASTPATH */
#if PEER_FLOW_CONTROL
static inline void cdp_per_peer_stats
(ol_txrx_soc_handle soc, void *pdev, char *addr)
{
@@ -197,8 +184,6 @@ static inline void cdp_per_peer_stats
return;
}
#endif
#if WLAN_FEATURE_FASTPATH && PEER_FLOW_CONTROL
static inline int cdp_host_msdu_ttl_stats(ol_txrx_soc_handle soc,
void *vdev,
struct ol_txrx_stats_req *req)
@@ -208,11 +193,9 @@ static inline int cdp_host_msdu_ttl_stats(ol_txrx_soc_handle soc,
(vdev, req);
return 0;
}
#endif
#if HOST_SW_LRO_ENABLE
static inline void
cdp_print_lro_stats(ol_txrx_soc_handle soc, void *vdev)
{
@@ -228,7 +211,6 @@ cdp_reset_lro_stats(ol_txrx_soc_handle soc, void *vdev)
return soc->ops->host_stats_ops->reset_lro_stats(vdev);
return;
}
#endif /* HOST_SW_LRO_ENABLE */
/**