qcacld-3.0: Fix the coding style error

Fix the coding style error.

Change-Id: Iafd3fc730c188fe027fc9a4dde3f45520091f47b
CRs-Fixed: 2125802
This commit is contained in:
Tiger Yu 2017-10-13 11:07:00 +08:00 committed by snandini
parent 0ea8a2d56b
commit 438c648c7b
2 changed files with 4 additions and 6 deletions

View File

@ -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;

View File

@ -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;