summaryrefslogtreecommitdiffstats
path: root/drivers/staging/csr
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-11-01 02:24:35 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-01 08:48:55 -0700
commitd05b25b97c6444fc3db4f9f70d7edbdb754a2e1a (patch)
tree3653c6cfa66489a7e54da69c98ac068119b893a8 /drivers/staging/csr
parent6192756574a9b1eb86ae9501c5f4bd29e7e5606e (diff)
downloadblackbird-obmc-linux-d05b25b97c6444fc3db4f9f70d7edbdb754a2e1a.tar.gz
blackbird-obmc-linux-d05b25b97c6444fc3db4f9f70d7edbdb754a2e1a.zip
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>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r--drivers/staging/csr/inet.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/csr/inet.c b/drivers/staging/csr/inet.c
index b4acb54ecc62..850620617571 100644
--- a/drivers/staging/csr/inet.c
+++ b/drivers/staging/csr/inet.c
@@ -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);
- }
}
OpenPOWER on IntegriCloud