summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/power.c
diff options
context:
space:
mode:
authorGuillaume Clement <gclement@baobob.org>2014-07-25 01:06:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-27 11:21:28 -0700
commitcba60905f19f70858556c081571cdd8fca546851 (patch)
treea592d9843430ab5e936a79049ddfc9c77fdfb652 /drivers/staging/vt6655/power.c
parentfa13849f58dcecbb14ce9f40a15b8c9b26df004d (diff)
downloadop-kernel-dev-cba60905f19f70858556c081571cdd8fca546851.zip
op-kernel-dev-cba60905f19f70858556c081571cdd8fca546851.tar.gz
staging: vt6655: remove braces for single statements if
This fixes several "braces {} are not necessary for single statement blocks" checkpatch warnings. Signed-off-by: Guillaume Clement <gclement@baobob.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/power.c')
-rw-r--r--drivers/staging/vt6655/power.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c
index e41d3bc..2a21cbd 100644
--- a/drivers/staging/vt6655/power.c
+++ b/drivers/staging/vt6655/power.c
@@ -248,9 +248,8 @@ PSvSendPSPOLL(
pTxPacket->cbMPDULen = WLAN_HDR_ADDR2_LEN;
pTxPacket->cbPayloadLen = 0;
// send the frame
- if (csMgmt_xmit(pDevice, pTxPacket) != CMD_STATUS_PENDING) {
+ if (csMgmt_xmit(pDevice, pTxPacket) != CMD_STATUS_PENDING)
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet failed..\n");
- }
}
/*+
OpenPOWER on IntegriCloud