net/sfc/base: simplify loopback type checking
authorAndy Moreton <amoreton@solarflare.com>
Tue, 20 Feb 2018 07:33:49 +0000 (07:33 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:42 +0000 (14:08 +0200)
commit0d854a2f07c85b1a8fa5a9a1572dabc0aff0873e
tree0aa3b2b37debb9089d1f2da0167cf6f2bc58efe0
parente434de5d6b75047d2c1dc09d3661efa2d9ad080f
net/sfc/base: simplify loopback type checking

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_phy.c
drivers/net/sfc/base/efx_nic.c