]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
e1000e: Switch e1000e_up to void, drop code checking for error result
authorAlexander Duyck <aduyck@mirantis.com>
Tue, 27 Oct 2015 23:59:31 +0000 (16:59 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:57:10 +0000 (08:57 -0700)
commitee3ed8598aacaddc1fd072782b6b35b44d4e815c
treeb128acc494c603561a4956398d3e0e4f5b173d5d
parent048b6ea9c9d7737a01d17787d84b75e6007f399d
e1000e: Switch e1000e_up to void, drop code checking for error result

The function e1000e_up always returns 0.  As such we can convert it to a
void and just ignore the results.  This allows us to drop some code in a
couple spots as we no longer need to worry about non-zero return values.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 386164d9b36b1f6f1396978110de85c7e186491d)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/netdev.c