[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180320202622.13339-3-paulmcquad@gmail.com>
Date: Tue, 20 Mar 2018 20:26:20 +0000
From: Paul McQuade <paulmcquad@...il.com>
To: paulmcquad@...il.com
Cc: gregkh@...uxfoundation.org, davem@...emloft.net,
stephen@...workplumber.org, Linyu.Yuan@...atel-sbell.com.cn,
Larry.Finger@...inger.net, keescook@...omium.org,
hdegoede@...hat.com, johannes.berg@...el.com,
colin.king@...onical.com, arvind.yadav.cs@...il.com, arnd@...db.de,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [v2 PATCH 3/5] Staging:rtl8723bs Remove unnecessary braces
Remove unnecessary parentheses highlighted by checkpatch.pl
Signed-off-by: Paul McQuade <paulmcquad@...il.com>
---
drivers/staging/rtl8723bs/os_dep/recv_linux.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/recv_linux.c b/drivers/staging/rtl8723bs/os_dep/recv_linux.c
index e804b430931c..117fda4fa1bf 100644
--- a/drivers/staging/rtl8723bs/os_dep/recv_linux.c
+++ b/drivers/staging/rtl8723bs/os_dep/recv_linux.c
@@ -181,11 +181,11 @@ void rtw_os_recv_indicate_pkt(struct adapter *padapter, _pkt *pkt, struct rx_pkt
pkt->dev = padapter->pnetdev;
#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;
- } else {
+ else
pkt->ip_summed = CHECKSUM_NONE;
- }
+
#else /* !CONFIG_TCP_CSUM_OFFLOAD_RX */
pkt->ip_summed = CHECKSUM_NONE;
#endif /* CONFIG_TCP_CSUM_OFFLOAD_RX */
--
2.16.2
Powered by blists - more mailing lists