commit | d2e816c0293fc263b3f168c14992a5f1a50d7593 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Sun Nov 10 14:06:28 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 11 16:17:00 2019 -0800 |
tree | 9a45992e90b536fcd201ebfbbc7e8cf0d9ffd093 | |
parent | 0936ebc42f5909da7cf4c58468d4107f7029fe29 [diff] |
net: sfp: handle module remove outside state machine Removing a module resets the module state machine back to its initial state. Rather than explicitly handling this in every state, handle it early on outside of the state machine. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>