e1000e: Fix return value test
authorBenjamin Poirier <bpoirier@suse.com>
Fri, 21 Jul 2017 18:36:25 +0000 (11:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Oct 2017 15:33:24 +0000 (08:33 -0700)
commitd3509f8bc7b0560044c15f0e3ecfde1d9af757a6
treef5c2117f9e0581f5a08af1e3b2169dc56251f053
parent65a29da1f5fd20fdebef3b959bef9b3660807b20
e1000e: Fix return value test

All the helpers return -E1000_ERR_PHY.

Signed-off-by: Benjamin Poirier <bpoirier@suse.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/netdev.c