[DragonFlyBSD - Bug #3076] (New) sys/dev/netif/ig_hal/e1000_ich8lan.c:1594: sanity checking mixup ?
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Wed Oct 11 01:58:53 PDT 2017
Issue #3076 has been reported by dcb.
----------------------------------------
Bug #3076: sys/dev/netif/ig_hal/e1000_ich8lan.c:1594: sanity checking mixup ?
http://bugs.dragonflybsd.org/issues/3076
* Author: dcb
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
dragonfly/sys/dev/netif/ig_hal/e1000_ich8lan.c:1594] -> [dragonfly/sys/dev/netif/ig_hal/e1000_ich8lan.c:1607]: (warning) Identical condition 'ret_val', second condition is always false
Source code is
hw->phy.ops.release(hw);
if (ret_val)
return ret_val;
If release returns a value, then suggest check it, otherwise
suggest remove redundant check.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list