]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Remove field that indicates SFP diagnostic support
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 23 May 2018 16:38:38 +0000 (11:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 20:33:00 +0000 (16:33 -0400)
commit56199adfb3b36862dba538ad6d26613b0dae5cf8
tree5166b63a3c21ba35a1ae46c1eb909ad61283d114
parente64fe01658de176723e29a9335ac4ae600c526f4
amd-xgbe: Remove field that indicates SFP diagnostic support

The driver currently sets an indication of whether the SFP supports, and
that the driver can obtain, diagnostics data.  This isn't currently used
by the driver and the logic to set this indicator is flawed because the
field is cleared each time the SFP is checked and only set when a new SFP
is detected.  Remove this field and the logic supporting it.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c