linux_dsm_epyc7002/drivers/net/ethernet/intel
Bruce Allan 04499ec4ee e1000e: cleanup boolean logic
Replace occurrences of 'if (<bool expr> == <1|0>)' with
'if ([!]<bool expr>)'

Replace occurrences of '<bool var> = (<non-bool expr>) ? true : false'
with '<bool var> = <non-bool expr>'.

Replace occurrence of '<bool var> = <non-bool expr>' with
'<bool var> = !!<non-bool expr>'

While the latter replacement is not really necessary, it is done here for
consistency and clarity.  No functional changes.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-04-14 02:05:00 -07:00
..
e1000 e1000: Support RX-ALL flag. 2012-04-04 00:21:27 -07:00
e1000e e1000e: cleanup boolean logic 2012-04-14 02:05:00 -07:00
igb igb: offer a PTP Hardware Clock instead of the timecompare method 2012-04-04 00:48:13 -07:00
igbvf intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
ixgb intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
ixgbe Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-04-10 14:30:45 -04:00
ixgbevf intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
e100.c e100: enable transmit time stamping. 2012-04-14 02:02:41 -07:00
Kconfig net: remove ixp2000 ethernet driver 2012-04-04 18:09:37 -04:00
Makefile