diff options
author | Rehas Sachdeva <aquannie@gmail.com> | 2016-09-15 22:15:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-16 10:55:33 +0300 |
commit | baa30626a9473efe4004512a0507645a6832cb1b (patch) | |
tree | 1a27f0fc94d58a65acb908d9920382a696f4dfb8 /drivers/staging/slicoss | |
parent | 1462b30786e336d73251e6c102e2ad92abc23b4a (diff) | |
download | linux-baa30626a9473efe4004512a0507645a6832cb1b.tar.xz |
staging: slicoss: Remove unnecessary braces {}
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>
Diffstat (limited to 'drivers/staging/slicoss')
-rw-r--r-- | drivers/staging/slicoss/slicoss.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 81297caec536..714e6e19d76f 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -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 |