diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-04-18 11:51:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-19 12:11:17 +0100 |
commit | 9fc31a9251de4acaab2d0704450d70ddc99f5ea2 (patch) | |
tree | 35f94c3551cb476c6786b3e19ea3054c26eb82c8 /net/unix/unix_bpf.c | |
parent | 78e8311a85fec3902d87093f67a882bcca1a3ae9 (diff) |
net: dsa: xrs700x: fix missing initialisation of ds->phylink_mac_ops
The kernel build bot identified the following mistake in the recently
merged 860a9bed2651 ("net: dsa: xrs700x: provide own phylink MAC
operations") patch:
drivers/net/dsa/xrs700x/xrs700x.c:714:37: warning: 'xrs700x_phylink_mac_ops' defined but not used [-Wunused-const-variable=]
714 | static const struct phylink_mac_ops xrs700x_phylink_mac_ops = {
| ^~~~~~~~~~~~~~~~~~~~~~~
Fix the omitted assignment of ds->phylink_mac_ops.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions