linux_dsm_epyc7002/drivers/net/ethernet/intel
Bruce Allan 5015e53a4c e1000e: cleanup goto statements to exit points without common work
Per ./Documentation/CodingStyle, goto statements are acceptable for the
centralized exiting of functions when there are multiple exit points which
share common work such as cleanup.  When no common work is required for
multiple exit points, the function should just return at these exit points
instead of doing an unnecessary jump to a centralized return.  This patch
cleans up the inappropriate use of goto statements, and removes unnecessary
variables (or move to a smaller scope) where possible as a result of the
cleanups.

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-02-13 13:30:16 -08:00
..
e1000 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-10 23:32:28 -05:00
e1000e e1000e: cleanup goto statements to exit points without common work 2012-02-13 13:30:16 -08:00
igb Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-10 23:32:28 -05:00
igbvf rename dev_hw_addr_random and remove redundant second 2012-02-13 00:46:41 -05:00
ixgb drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
ixgbe drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
ixgbevf rename dev_hw_addr_random and remove redundant second 2012-02-13 00:46:41 -05:00
e100.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
Kconfig i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00