diff options
author | 2021-07-10 20:57:50 +0300 | |
---|---|---|
committer | 2021-07-20 16:11:36 -0700 | |
commit | 47bca7de6a4fb8dcb564c7ca14d885c91ed19e03 (patch) | |
tree | 0b241a11c4434ecc4fc810a486f04d5b419260dd /net/switchdev/switchdev.c | |
parent | igc: Remove _I_PHY_ID checking (diff) | |
download | linux-dev-47bca7de6a4fb8dcb564c7ca14d885c91ed19e03.tar.xz linux-dev-47bca7de6a4fb8dcb564c7ca14d885c91ed19e03.zip |
igc: Remove phy->type checking
i225 devices have only one phy->type: copper. There is no point checking
phy->type during the igc_has_link method from the watchdog that
invoked every 2 seconds.
This patch comes to clean up these pointless checkings.
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions