Skip to contentSkip to conversation

staging: wilc1000: Delete blank line

PATCH In review Tamara Diaconita 2 participants 2 messages Mar 10, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 staging: wilc1000: Delete blank line

Delete blank line before a '}' to match the kernel coding style and improve code readability in wilc_wlan_cfg.c file.

Fix the checkpath.pl issue:
CHECK: Blank lines aren't necessary before '}'.

---
 drivers/staging/wilc1000/wilc_wlan_cfg.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/wilc1000/wilc_wlan_cfg.c +0 -1
index fed66dcd..f442e6f 100644
@@ -490,7 +490,6 @@ int wilc_wlan_cfg_get_wid_value(u16 wid, u8 *buffer, u32 buffer_size)
 
 						i += toggle;
 						toggle ^= 1;
-
 					}
 					memcpy(buffer,  &g_cfg_str[i].str[1],
 					       size);
Signature · 1 line
2.9.3
#1 lore raw
Quoted 1 line · Tamara Diaconita

Delete blank line before a '}' to match the kernel coding style and improve code readability in wilc_wlan_cfg.c file.

Hi Tamara,

wrap log message lines at 72.

Quoted 2 lines

Fix the checkpath.pl issue:

spell checkpatch.pl

This is the last one in this set. Entire set needs to rev. See the first patch tutorial for how to do it. The version change comments go in the cover letter for a patchset, a little different than for single patches. Be sure to send it threaded.

Thanks,
alisons

Quoted 28 lines

CHECK: Blank lines aren't necessary before '}'.

---
 drivers/staging/wilc1000/wilc_wlan_cfg.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/wilc1000/wilc_wlan_cfg.c +0 -1
index fed66dcd..f442e6f 100644
@@ -490,7 +490,6 @@ int wilc_wlan_cfg_get_wid_value(u16 wid, u8 *buffer, u32 buffer_size)
 
 						i += toggle;
 						toggle ^= 1;
-
 					}
 					memcpy(buffer,  &g_cfg_str[i].str[1],
 					       size);
Signature · 8 lines
2.9.3

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170310165919.4186-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.