PERFORCE change 161159 for review

Marko Zec zec at FreeBSD.org
Sun Apr 26 23:35:00 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=161159

Change 161159 by zec at zec_amdx2 on 2009/04/26 23:34:18

	Nuke unnecessary curly braces - reduce diff against svn.

Affected files ...

.. //depot/projects/vimage/src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c#19 edit

Differences ...

==== //depot/projects/vimage/src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c#19 (text+ko) ====

@@ -245,9 +245,8 @@
 	bzero((char *)frcache, sizeof(frcache));
 	fr_running = 1;
 
-	if (fr_control_forwarding & 1) {
+	if (fr_control_forwarding & 1)
 		V_ipforwarding = 1;
-	}
 
 	SPL_X(s);
 #if (__FreeBSD_version >= 300000)
@@ -270,9 +269,8 @@
 #ifdef USE_SPL
 	int s;
 #endif
-	if (fr_control_forwarding & 2) {
+	if (fr_control_forwarding & 2)
 		V_ipforwarding = 0;
-	}
 
 	SPL_NET(s);
 


More information about the p4-projects mailing list