diff options
author | Vincent Gross <vgross@cvs.openbsd.org> | 2016-04-13 06:06:05 +0000 |
---|---|---|
committer | Vincent Gross <vgross@cvs.openbsd.org> | 2016-04-13 06:06:05 +0000 |
commit | bb404f94107e616509f807b27bda58fddf3be7cb (patch) | |
tree | 9a1aab3cc88d384aefc05d9523b0c43a19ed1f7a | |
parent | 8da5ba7130e9309cd7078df6eb5ca3c3449f1dd5 (diff) |
Remove extra parenthesis around comparison.
Found by David Hill <dhill@mindcry.org> with clang.
-rw-r--r-- | sys/netinet/in_pcb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 6cf336829ba..5faf89331b5 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.204 2016/04/12 14:42:54 krw Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.205 2016/04/13 06:06:04 vgross Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -905,7 +905,7 @@ in_selectsrc(struct in_addr **insrc, struct sockaddr_in *sin, rtfree(ro->ro_rt); ro->ro_rt = NULL; } - if ((ro->ro_rt == NULL)) { + if (ro->ro_rt == NULL) { /* No route yet, so try to acquire one */ ro->ro_dst.sa_family = AF_INET; ro->ro_dst.sa_len = sizeof(struct sockaddr_in); |