git: kernel: Simplify various redundant conditions.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Oct 11 07:55:51 PDT 2017


commit d314b0e9c46f4a173860d657b5cd89eb228c0cfd
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/d314b0e9c46f4a173860d657b5cd89eb228c0cfd


-- 
DragonFly BSD source repository


More information about the Commits mailing list