Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Remove extraneous parentheses. no functional change



details:   https://anonhg.NetBSD.org/src/rev/4c01483bbb74
branches:  trunk
changeset: 349787:4c01483bbb74
user:      maya <maya%NetBSD.org@localhost>
date:      Fri Dec 23 11:11:28 2016 +0000

description:
Remove extraneous parentheses. no functional change

Appeases clang

diffstat:

 sys/netinet/sctp_output.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 05dce8a2e817 -r 4c01483bbb74 sys/netinet/sctp_output.c
--- a/sys/netinet/sctp_output.c Fri Dec 23 10:48:12 2016 +0000
+++ b/sys/netinet/sctp_output.c Fri Dec 23 11:11:28 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sctp_output.c,v 1.8 2016/12/08 05:16:33 ozaki-r Exp $ */
+/*     $NetBSD: sctp_output.c,v 1.9 2016/12/23 11:11:28 maya Exp $ */
 /*     $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $    */
 
 /*
@@ -30,7 +30,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.8 2016/12/08 05:16:33 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.9 2016/12/23 11:11:28 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ipsec.h"
@@ -2195,7 +2195,7 @@
                 * being sent).
                 */
                rt = rtcache_validate(ro);
-               if ((rt == NULL)) {
+               if (rt == NULL) {
                        /*
                         * src addr selection failed to find a route (or valid
                         * source addr), so we can't get there from here!
@@ -2374,7 +2374,7 @@
                }
                lsa6->sin6_port = inp->sctp_lport;
 
-               if ((rt ==  NULL)) {
+               if (rt ==  NULL) {
                        /*
                         * src addr selection failed to find a route (or valid
                         * source addr), so we can't get there from here!



Home | Main Index | Thread Index | Old Index