mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
net: ethernet: micrel: ksz884x.c: Remove unused function
Remove the function port_cfg_dis_learn() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
05b0aa5793
commit
62633b8adb
1 changed files with 0 additions and 6 deletions
|
@ -2303,12 +2303,6 @@ static inline int port_chk_force_flow_ctrl(struct ksz_hw *hw, int p)
|
|||
|
||||
/* Spanning Tree */
|
||||
|
||||
static inline void port_cfg_dis_learn(struct ksz_hw *hw, int p, int set)
|
||||
{
|
||||
port_cfg(hw, p,
|
||||
KS8842_PORT_CTRL_2_OFFSET, PORT_LEARN_DISABLE, set);
|
||||
}
|
||||
|
||||
static inline void port_cfg_rx(struct ksz_hw *hw, int p, int set)
|
||||
{
|
||||
port_cfg(hw, p,
|
||||
|
|
Loading…
Reference in a new issue