linux/drivers/net/ethernet/intel
Dave Ertman 52a08caa0c i40e: Fix static analysis tool warning
This patch fixes a problem where a static analysis tool generates
a warning for "INVARIANT_CONDITION: Expression 'enabled_tc' used
in the condition always yields the same result."

Without this patch, the driver will not pass the static analysis
tool checks without generating warnings.

This patch fixes the problem by eliminating the irrelevant check
and redundant assignment for the value of enabled_tc.

Change-ID: Ia7d44cb050f507df7de333e96369d322e08bf408
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-08-18 11:43:11 -07:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-09 17:41:41 -04:00
e1000e e1000e: fix PTP on e1000_pch_lpt variants 2016-08-16 10:47:20 -07:00
fm10k PCI changes for the v4.8 merge window: 2016-08-02 17:12:29 -04:00
i40e i40e: Fix static analysis tool warning 2016-08-18 11:43:11 -07:00
i40evf i40evf: add missing rtnl_lock() around i40evf_set_interrupt_capability 2016-08-18 11:43:11 -07:00
igb igb: fix adjusting PTP timestamps for Tx/Rx latency 2016-08-16 10:32:59 -07:00
igbvf intel: Add support for IPv6 IP-in-IP offload 2016-05-20 19:25:52 -04:00
ixgb drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe net_sched: convert tcf_exts from list to pointer array 2016-08-17 19:27:51 -04:00
ixgbevf ixgbevf: Commonize mailbox write/read 2016-07-22 01:56:54 -07:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig ixgbe: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:30 -07:00
Makefile