mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
qcacmn: Remove multiple definitions of __qdf_nbuf_free api
There are multiple definitions of __qdf_nbuf_free api based on CONFIG_MCL feature flag. As a part of cleanup activity remove multiple definitions of __qdf_nbuf_free api. Change-Id: Ib7fce54353561a45a4662c05d56d3af187a269e1 CRs-Fixed: 2472016
This commit is contained in:
parent
04f0ad4935
commit
4600ab56ad
1 changed files with 0 additions and 11 deletions
|
|
@ -506,7 +506,6 @@ qdf_export_symbol(__qdf_nbuf_alloc);
|
|||
* Return: none
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
void __qdf_nbuf_free(struct sk_buff *skb)
|
||||
{
|
||||
if (pld_nbuf_pre_alloc_free(skb))
|
||||
|
|
@ -518,16 +517,6 @@ void __qdf_nbuf_free(struct sk_buff *skb)
|
|||
else
|
||||
dev_kfree_skb_any(skb);
|
||||
}
|
||||
#else
|
||||
void __qdf_nbuf_free(struct sk_buff *skb)
|
||||
{
|
||||
if (pld_nbuf_pre_alloc_free(skb))
|
||||
return;
|
||||
|
||||
qdf_nbuf_count_dec(skb);
|
||||
dev_kfree_skb_any(skb);
|
||||
}
|
||||
#endif
|
||||
|
||||
qdf_export_symbol(__qdf_nbuf_free);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue