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)
commit386164d9b36b1f6f1396978110de85c7e186491d
treebaa061ebfcc0e12b3d810cfb0a8b8a02c448371f
parentcb4396edd84ed73081635fb933d19c1410fafaf4
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
This page took 0.026473 seconds and 5 git commands to generate.