Commit d05b25b9 authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging: csr: inet.c: single statement if blocks doesn't need braces

remove braces to single statement if blocks
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 61927565
......@@ -93,14 +93,12 @@ static struct notifier_block uf_inetaddr_notifier = {
void uf_register_inet_notifier(void)
{
if (atomic_inc_return(&inet_notif_refs) == 1) {
if (atomic_inc_return(&inet_notif_refs) == 1)
register_inetaddr_notifier(&uf_inetaddr_notifier);
}
}
void uf_unregister_inet_notifier(void)
{
if (atomic_dec_return(&inet_notif_refs) == 0) {
if (atomic_dec_return(&inet_notif_refs) == 0)
unregister_inetaddr_notifier(&uf_inetaddr_notifier);
}
}
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