diff options
author | 2016-04-13 06:06:04 +0000 | |
---|---|---|
committer | 2016-04-13 06:06:04 +0000 | |
commit | fb646d36fe9d0c3b8d6a503f66986a72d214ca39 (patch) | |
tree | 50f45910b1e7c83000ec00fdf9591ac68a44f619 | |
parent | remove dumpfilter related code; it's a leftover from pftop-proper and not used (diff) | |
download | wireguard-openbsd-fb646d36fe9d0c3b8d6a503f66986a72d214ca39.tar.xz wireguard-openbsd-fb646d36fe9d0c3b8d6a503f66986a72d214ca39.zip |
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); |