]> git.proxmox.com Git - mirror_iproute2.git/commit
ss: Skip useless check in parse_hostcond()
authorPhil Sutter <phil@nwl.cc>
Thu, 17 Aug 2017 17:09:29 +0000 (19:09 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 22 Aug 2017 00:12:21 +0000 (17:12 -0700)
commit44448a90eab34713af019356926828720c67a268
tree1901c4a60d9c6bc6e2f4008d03c7751e9250982c
parentb3c5f84493d3399a546566475203207aa5b64d54
ss: Skip useless check in parse_hostcond()

The passed 'addr' parameter is dereferenced by caller before and in
parse_hostcond() multiple times before this check, so assume it is
always true.

Signed-off-by: Phil Sutter <phil@nwl.cc>
misc/ss.c