commit | 444d3502ed00a1354c9201c332cb7962dd0ac555 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Fri Dec 29 12:15:33 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 02 21:45:32 2018 -0500 |
tree | dcffc8d8a73713041c813d569f5b31b7441c8e71 | |
parent | f10fcbcf91006a3223cffbc413b5abe17cf46937 [diff] |
phylink: remove 'mode' variable from phylink_sfp_module_insert() 'mode' is actually constant through phylink_sfp_module_insert(), so remove it and replace it with the enumerated constant. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>