]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
e1000: get rid of duplicate exit path
authorJean Sacren <sakiwit@gmail.com>
Sat, 19 Sep 2015 11:08:47 +0000 (05:08 -0600)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 13 Dec 2015 07:11:16 +0000 (23:11 -0800)
commitc619581a7903fadccb900d1d497d2366fdf7da9d
tree5f7f1646423de34b62164475dfb03ed78fa6d3fe
parentf03fed668a9193036db0258229af87e9ba46ed5e
e1000: get rid of duplicate exit path

By using goto statement, we can achieve sharing the same exit path so
that code duplication could be minimized.

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>
drivers/net/ethernet/intel/e1000/e1000_hw.c