]> 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)
commit76e62a24ceb8c33ad40627534a2fd984eaf14cd6
tree5166b63a3c21ba35a1ae46c1eb909ad61283d114
parent487e8fed06f673247b6c6a8dbeabda724d00c4a5
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