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>
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);
- }
}