Staging:rtl8723bs Remove unnecessary braces
Remove unnecessary parentheses highlighted by checkpatch.pl Signed-off-by: Paul McQuade <paulmcquad@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fcd353bc8b
commit
af1bef4aa3
|
@ -181,11 +181,11 @@ void rtw_os_recv_indicate_pkt(struct adapter *padapter, _pkt *pkt, struct rx_pkt
|
||||||
pkt->dev = padapter->pnetdev;
|
pkt->dev = padapter->pnetdev;
|
||||||
|
|
||||||
#ifdef CONFIG_TCP_CSUM_OFFLOAD_RX
|
#ifdef CONFIG_TCP_CSUM_OFFLOAD_RX
|
||||||
if ((pattrib->tcpchk_valid == 1) && (pattrib->tcp_chkrpt == 1)) {
|
if ((pattrib->tcpchk_valid == 1) && (pattrib->tcp_chkrpt == 1))
|
||||||
pkt->ip_summed = CHECKSUM_UNNECESSARY;
|
pkt->ip_summed = CHECKSUM_UNNECESSARY;
|
||||||
} else {
|
else
|
||||||
pkt->ip_summed = CHECKSUM_NONE;
|
pkt->ip_summed = CHECKSUM_NONE;
|
||||||
}
|
|
||||||
#else /* !CONFIG_TCP_CSUM_OFFLOAD_RX */
|
#else /* !CONFIG_TCP_CSUM_OFFLOAD_RX */
|
||||||
pkt->ip_summed = CHECKSUM_NONE;
|
pkt->ip_summed = CHECKSUM_NONE;
|
||||||
#endif /* CONFIG_TCP_CSUM_OFFLOAD_RX */
|
#endif /* CONFIG_TCP_CSUM_OFFLOAD_RX */
|
||||||
|
|
Loading…
Reference in New Issue