summaryrefslogtreecommitdiff
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-06-03 10:34:08 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-06-03 10:34:08 +0000
commitee6804f83dcddc75b6800bde301bceeaca6bd820 (patch)
treee1f684e6a5d931c39a1dbb6f22305afce1f109ed /sys/net/route.c
parentf25cf1843eceff6f36cdfcefbd83a1fb7f6db4f6 (diff)
Remove superfluous parenthesis to shut up clang, from David Hill.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index a23f8702311..fd7e4620c9c 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.304 2016/06/03 02:56:59 dlg Exp $ */
+/* $OpenBSD: route.c,v 1.305 2016/06/03 10:34:07 mpi Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -558,7 +558,7 @@ rtredirect(struct sockaddr *dst, struct sockaddr *gateway,
* which use routing redirects generated by smart gateways
* to dynamically build the routing tables.
*/
- if ((rt == NULL))
+ if (rt == NULL)
goto create;
/*
* Don't listen to the redirect if it's