staging: wilc1000: remove unnecessary braces
PATCH v2 1/1 staging: wilc1000: remove unnecessary braces
Remove braces around a single statement block to conform to the Linux kernel coding style.
Problem found using checkpatch.
---
Changes in v2:
- Make the subject line more clearer.
- Remove file name from subject line.
- Make the commit message more clearer.
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +1 -2
@@ -287,9 +287,8 @@ static void remove_network_from_shadow(struct timer_list *unused) } } -if (last_scanned_cnt !=0 ) { +if (last_scanned_cnt !=0 )mod_timer (&hAgingTimer, jiffies +msecs_to_jiffies (AGING_TIME )); - } }static void clear_duringIP (struct timer_list *unused)
Signature · 1 line
2.7.4
Quoted 6 lines · Santha Meena Ramamoorthy
Remove braces around a single statement block to conform to the Linux kernel coding style.
Problem found using checkpatch.
Signed-off-by Santha Meena Ramamoorthy <[email protected]>
Quoted 34 lines
---
Changes in v2:
- Make the subject line more clearer.
- Remove file name from subject line.
- Make the commit message more clearer.drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +1
-3@@ -287,9 +287,8 @@ static void remove_network_from_shadow(struct timer_list *unused) } } -if (last_scanned_cnt !=0 ) { +if (last_scanned_cnt !=0 )mod_timer (&hAgingTimer, jiffies +msecs_to_jiffies (AGING_TIME )); - } }static void clear_duringIP (struct timer_list *unused) --2.7.4
--
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/1518991620-3340-1-git-send-email-santhameena13%40gmail.com.
For more options, visit https://groups.google.com/d/optout.