[ovs-dev] [PATCH] datapath: Remove unneeded { } around single statement.

Ben Pfaff blp at nicira.com
Fri Aug 19 22:43:16 UTC 2011


I noticed this looking around at other code.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 datapath/datapath.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/datapath/datapath.c b/datapath/datapath.c
index b191239..e14f5ef 100644
--- a/datapath/datapath.c
+++ b/datapath/datapath.c
@@ -2007,9 +2007,8 @@ static void dp_unregister_genl(int n_families)
 {
 	int i;
 
-	for (i = 0; i < n_families; i++) {
+	for (i = 0; i < n_families; i++)
 		genl_unregister_family(dp_genl_families[i].family);
-	}
 }
 
 static int dp_register_genl(void)
-- 
1.7.4.4




More information about the dev mailing list