]> git.baikalelectronics.ru Git - 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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 14 Dec 2015 17:47:05 +0000 (09:47 -0800)
commitf07e26affe4442a9fbd5d975715fbeb4ab91fe64
treebaa061ebfcc0e12b3d810cfb0a8b8a02c448371f
parent0c2277a70806d3ed20123fc75111534fba8fa6dc
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>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/netdev.c