staging: rtl8192u: ieee80211: ieee80211_rx.c: Remove unnecessary braces.
authorSanjana Sanikommu <sanjana99reddy99@gmail.com>
Wed, 20 Mar 2019 11:16:18 +0000 (16:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Mar 2019 07:24:59 +0000 (08:24 +0100)
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 <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c

index e3e40d1..b41d20e 100644 (file)
@@ -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)) {