From: Sanjana Sanikommu Date: Wed, 20 Mar 2019 11:16:18 +0000 (+0530) Subject: staging: rtl8192u: ieee80211: ieee80211_rx.c: Remove unnecessary braces. X-Git-Tag: v5.15~6451^2~328 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40a3483b194ea793e3909b0256f536b430b14532;p=platform%2Fkernel%2Flinux-starfive.git staging: rtl8192u: ieee80211: ieee80211_rx.c: Remove unnecessary braces. Remove braces around single statement block. Issue found by checkpatch.pl WARNING: braces {} are not necessary for a single statement block Signed-off-by: Sanjana Sanikommu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c index e3e40d1..b41d20e 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c @@ -598,9 +598,8 @@ static void RxReorderIndicatePacket(struct ieee80211_device *ieee, return; /* Rx Reorder initialize condition.*/ - if (pTS->rx_indicate_seq == 0xffff) { + if (pTS->rx_indicate_seq == 0xffff) pTS->rx_indicate_seq = SeqNum; - } /* Drop out the packet which SeqNum is smaller than WinStart */ if (SN_LESS(SeqNum, pTS->rx_indicate_seq)) {