linux/drivers/net/ethernet/intel/e1000
Jean Sacren 4e01f3a802 e1000: clean up the checking logic
The checking logic needed some clean-up work, so we rewrite it by
checking for break first. With that change in place, we can even move
the second check for goto statement outside of the loop.

As this is merely a cleanup, no functional change is involved. The
questionable 'tmp != 0xFF' is intentionally left alone.

Mark Rustad and Alexander Duyck contributed to this patch.

CC: Mark Rustad <mark.d.rustad@intel.com>
CC: Alex Duyck <aduyck@mirantis.com>
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-12-12 23:10:22 -08:00
..
e1000.h e1000: fix data race between tx_ring->next_to_clean 2015-12-12 23:09:48 -08:00
e1000_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
e1000_hw.c e1000: Remove checkpatch coding style errors 2015-12-12 23:10:00 -08:00
e1000_hw.h e1000: move e1000_tbi_adjust_stats to where its used 2014-09-12 00:51:10 -07:00
e1000_main.c e1000: clean up the checking logic 2015-12-12 23:10:22 -08:00
e1000_osdep.h
e1000_param.c e1000: fix whitespace issues and multi-line comments 2013-02-15 21:46:37 -08:00
Makefile