libifconfig: remove redundant NULL check
Submitted by: Puneeth_kumar.Jothaiah@emc.com Reported by: Coverity Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
a7a64b722b
commit
1add7d0f8d
@ -97,7 +97,7 @@ ifconfig_inet6_get_addrinfo(ifconfig_handle_t *h,
|
||||
addr->lifetime = ifr6.ifr_ifru.ifru_lifetime; /* struct copy */
|
||||
|
||||
/* Set the vhid */
|
||||
if (ifa->ifa_data && ifa->ifa_data) {
|
||||
if (ifa->ifa_data) {
|
||||
addr->vhid = ((struct if_data *)ifa->ifa_data)->ifi_vhid;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user