staging: csr: inet.c: single statement if blocks doesn't need braces
remove braces to single statement if blocks Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6192756574
commit
d05b25b97c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue