From: Sven Eckelmann <sven@narfation.org>
Date: Wed, 7 Mar 2012 08:07:47 +0000 (+0100)
Subject: batman-adv: Use {} braces consistent on the arms of a statement
X-Git-Tag: firefly_0821_release~3680^2~3338^2~96^2~1
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=96741ade15187bfde3dddc4092a88ba7a7c9183c;p=firefly-linux-kernel-4.4.55.git

batman-adv: Use {} braces consistent on the arms of a statement

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
---

diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index 01b66d4a5aad..7f8e15899417 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -237,8 +237,9 @@ int window_protected(struct bat_priv *bat_priv, int32_t seq_num_diff,
 				"old packet received, start protection\n");
 
 			return 0;
-		} else
+		} else {
 			return 1;
+		}
 	}
 	return 0;
 }