diff options
| author | Mohit Khanna <mkhannaqca@codeaurora.org> | 2017-03-14 22:02:35 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-17 12:11:47 -0700 |
| commit | 6ccfc50b3be867b1b2a1254cf567916fbb780201 (patch) | |
| tree | 46c6f4687809f21b168417f49401e9882b39ccbb | |
| parent | cc75e7384348d44a6340d86bd06b17f7100eda75 (diff) | |
qcacld-3.0: change hdd_skb_orphan to static inline
hdd_skb_orphan is currently a static function. If not used, it may cause
compilation error.
Make the function static inline.
Change-Id: I5d78f597f2f694d370dbe7631be0a7ebc8572b0d
CRs-Fixed: 2020167
| -rw-r--r-- | core/hdd/src/wlan_hdd_softap_tx_rx.c | 2 | ||||
| -rw-r--r-- | core/hdd/src/wlan_hdd_tx_rx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c index c0343196b96a..601617afe310 100644 --- a/core/hdd/src/wlan_hdd_softap_tx_rx.c +++ b/core/hdd/src/wlan_hdd_softap_tx_rx.c @@ -215,7 +215,7 @@ static inline struct sk_buff *hdd_skb_orphan(hdd_adapter_t *pAdapter, * * Return: pointer to skb structure */ -static struct sk_buff *hdd_skb_orphan(hdd_adapter_t *pAdapter, +static inline struct sk_buff *hdd_skb_orphan(hdd_adapter_t *pAdapter, struct sk_buff *skb) { struct sk_buff *nskb; diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index eb9ee33704b1..bd5efc17e33b 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -286,7 +286,7 @@ void hdd_get_tx_resource(hdd_adapter_t *adapter, * * Return: pointer to skb structure */ -static struct sk_buff *hdd_skb_orphan(hdd_adapter_t *pAdapter, +static inline struct sk_buff *hdd_skb_orphan(hdd_adapter_t *pAdapter, struct sk_buff *skb) { struct sk_buff *nskb; |
