qcacld-3.0: Fix the coding style error
Fix the coding style error. Change-Id: Iafd3fc730c188fe027fc9a4dde3f45520091f47b CRs-Fixed: 2125802
This commit is contained in:
parent
0ea8a2d56b
commit
438c648c7b
@ -224,15 +224,14 @@ static inline struct sk_buff *hdd_skb_orphan(struct hdd_adapter *adapter,
|
||||
#endif
|
||||
} else if (hdd_ctx->config->tx_orphan_enable) {
|
||||
if (qdf_nbuf_is_ipv4_tcp_pkt(skb) ||
|
||||
qdf_nbuf_is_ipv6_tcp_pkt(skb))
|
||||
qdf_nbuf_is_ipv6_tcp_pkt(skb))
|
||||
need_orphan = 1;
|
||||
}
|
||||
|
||||
if (need_orphan) {
|
||||
skb_orphan(skb);
|
||||
++adapter->hdd_stats.hddTxRxStats.txXmitOrphaned;
|
||||
}
|
||||
else
|
||||
} else
|
||||
skb = skb_unshare(skb, GFP_ATOMIC);
|
||||
|
||||
return skb;
|
||||
|
@ -187,15 +187,14 @@ static inline struct sk_buff *hdd_skb_orphan(struct hdd_adapter *adapter,
|
||||
#endif
|
||||
} else if (hdd_ctx->config->tx_orphan_enable) {
|
||||
if (qdf_nbuf_is_ipv4_tcp_pkt(skb) ||
|
||||
qdf_nbuf_is_ipv6_tcp_pkt(skb))
|
||||
qdf_nbuf_is_ipv6_tcp_pkt(skb))
|
||||
need_orphan = 1;
|
||||
}
|
||||
|
||||
if (need_orphan) {
|
||||
skb_orphan(skb);
|
||||
++adapter->hdd_stats.hddTxRxStats.txXmitOrphaned;
|
||||
}
|
||||
else
|
||||
} else
|
||||
skb = skb_unshare(skb, GFP_ATOMIC);
|
||||
|
||||
return skb;
|
||||
|
Loading…
Reference in New Issue
Block a user