Commit 0ed34b38 authored by Eyal Ilsar's avatar Eyal Ilsar Committed by Greg Kroah-Hartman

staging: wilc1000: Remove unnecessary braces {} around single statement block

Remove unnecessary braces {} around an 'if' statement block with a single
statement. Issue found by checkpatch.
Signed-off-by: default avatarEyal Ilsar <edilsar@gmail.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e42357d6
...@@ -284,9 +284,8 @@ static void remove_network_from_shadow(struct timer_list *unused) ...@@ -284,9 +284,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)); mod_timer(&hAgingTimer, jiffies + msecs_to_jiffies(AGING_TIME));
}
} }
static void clear_duringIP(struct timer_list *unused) static void clear_duringIP(struct timer_list *unused)
......
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