staging: slicoss: Remove unnecessary braces {}
authorRehas Sachdeva <aquannie@gmail.com>
Thu, 15 Sep 2016 19:15:32 +0000 (00:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 07:55:33 +0000 (09:55 +0200)
Removes unnecessary braces {} on both arms of an if-else block as they
have a single statement each. Issue detected by checkpatch.

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c

index 81297caec536d526a4cde456976f037d4bb1d9f0..714e6e19d76f5ce76f54e69b3a586e7e41d4e686 100644 (file)
@@ -1630,11 +1630,10 @@ static u32 slic_rcvqueue_reinsert(struct adapter *adapter, struct sk_buff *skb)
                dev_err(dev, "         rcvq->tail[%p]\n", rcvq->tail);
                dev_err(dev, "         rcvq->count[%x]\n", rcvq->count);
        }
-       if (paddrh == 0) {
+       if (paddrh == 0)
                slic_write32(adapter, SLIC_REG_HBAR, (u32)paddrl);
-       } else {
+       else
                slic_write64(adapter, SLIC_REG_HBAR64, paddrl, paddrh);
-       }
        if (rcvq->head)
                rcvq->tail->next = skb;
        else