[Intel-wired-lan] [next PATCH 4/5] e1000e: Switch e1000e_up to void, drop code checking for error result
Brown, Aaron F
aaron.f.brown at intel.com
Fri Nov 20 04:48:20 UTC 2015
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Tuesday, October 27, 2015 5:00 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH 4/5] 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 at mirantis.com>
> ---
> drivers/net/ethernet/intel/e1000e/e1000.h | 2 +-
> drivers/net/ethernet/intel/e1000e/netdev.c | 15 ++++-----------
> 2 files changed, 5 insertions(+), 12 deletions(-)
>
Tested-by: Aaron Brown <aaron.f.brown at intel.com>
More information about the Intel-wired-lan
mailing list