mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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
1 changed files with 2 additions and 4 deletions
|
|
@ -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 a new issue