Commit bbfd888d authored by Roxana Blaj's avatar Roxana Blaj Committed by Greg Kroah-Hartman

staging: rtl8192u: remove space before semicolon

This fixes the checkpatch.pl warning:
WARNING: space prohibited before semicolon
Signed-off-by: default avatarRoxana Blaj <roxanagabriela10@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 32b116ed
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment