nterface-ip: remove superfluous iface check in interface_ip_set_enabled()
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 26 Apr 2018 20:40:24 +0000 (22:40 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 26 Apr 2018 20:40:24 +0000 (22:40 +0200)
commit56cecedb261808f5ea700b92b97590f7fa16de9c
tree918544e1e418396b6fe0865b726d601eaf9b2db5
parent4f4a8c0895cec56df2141df526a1ee87fdb94a2b
nterface-ip: remove superfluous iface check in interface_ip_set_enabled()

No need to check iface pointer in interface_ip_set_enabled as the
interface is always set by the function __interface_ip_init().
Reported by Coverity in CID 1330437

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
interface-ip.c