summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoxana Blaj <roxanagabriela10@gmail.com>2014-09-27 17:32:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 23:39:26 -0400
commitbbfd888d847b6c3497165a411d2e12d61777b773 (patch)
tree086cff47a713e9ec08fe98da4f6eb2834ade4ca4 /drivers
parent32b116edae346c3e903519c3aff54e20f3a83146 (diff)
downloadop-kernel-dev-bbfd888d847b6c3497165a411d2e12d61777b773.zip
op-kernel-dev-bbfd888d847b6c3497165a411d2e12d61777b773.tar.gz
staging: rtl8192u: remove space before semicolon
This fixes the checkpatch.pl warning: WARNING: space prohibited before semicolon Signed-off-by: Roxana Blaj <roxanagabriela10@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8192u/r819xU_firmware.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_firmware.c b/drivers/staging/rtl8192u/r819xU_firmware.c
index efa704a..eca5128 100644
--- a/drivers/staging/rtl8192u/r819xU_firmware.c
+++ b/drivers/staging/rtl8192u/r819xU_firmware.c
@@ -51,7 +51,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
frag_threshold = pfirmware->cmdpacket_frag_thresold;
do {
if ((buffer_len - frag_offset) > frag_threshold) {
- frag_length = frag_threshold ;
+ frag_length = frag_threshold;
bLastIniPkt = 0;
} else {
@@ -78,7 +78,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
* Transform from little endian to big endian
* and pending zero
*/
- for (i=0 ; i < frag_length; i+=4) {
+ for (i=0; i < frag_length; i+=4) {
*seg_ptr++ = ((i+0)<frag_length)?code_virtual_address[i+3]:0;
*seg_ptr++ = ((i+1)<frag_length)?code_virtual_address[i+2]:0;
*seg_ptr++ = ((i+2)<frag_length)?code_virtual_address[i+1]:0;
OpenPOWER on IntegriCloud