git: DragonFly_RELEASE_5_0 kernel: Simplify various redundant conditions.
Sascha Wildner
swildner at crater.dragonflybsd.org
Thu Oct 12 01:14:21 PDT 2017
commit 703b451482c6edb2c4b603a8029465023638d5bc
Author: Sascha Wildner <saw at online.de>
Date: Wed Oct 11 16:55:23 2017 +0200
kernel: Simplify various redundant conditions.
Found-by: cppcheck
One was reported by dcb in <https://bugs.dragonflybsd.org/issues/3078>.
Summary of changes:
sys/dev/netif/wi/if_wi.c | 2 +-
sys/kern/kern_sensors.c | 4 ++--
sys/netinet6/nd6_nbr.c | 6 ++----
sys/vfs/nfs/nfs_syscalls.c | 3 +--
4 files changed, 6 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/703b451482c6edb2c4b603a8029465023638d5bc
--
DragonFly BSD source repository
More information about the Commits
mailing list