]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: fixed_phy: Remove unused seqcount
authorAhmed S. Darwish <a.darwish@linutronix.de>
Wed, 3 Jun 2020 14:49:45 +0000 (16:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2020 22:50:42 +0000 (15:50 -0700)
commit47783640449175b282edec5ce450e5043032a0bf
tree1d72570f6d07c9aca350aeef39fd06c836f82e3c
parent0a80b7abf0bc411076db3c8f48f66c36d62af506
net: phy: fixed_phy: Remove unused seqcount

Commit 8bb4f8fcbca4 ("phy: improve safety of fixed-phy MII register
reading") protected the fixed PHY status with a sequence counter.

Two years later, commit cb439358b61e ("net: phy: fixed-phy: remove
fixed_phy_update_state()") removed the sequence counter's write side
critical section -- neutralizing its read side retry loop.

Remove the unused seqcount.

Signed-off-by: Ahmed S. Darwish <a.darwish@linutronix.de>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/fixed_phy.c