]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: make unexported dsa_link_touch() static
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Tue, 17 Dec 2019 11:20:38 +0000 (11:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2019 06:40:39 +0000 (22:40 -0800)
commit3097246eb1239af9b65ebf38095bffa04ac9cb77
tree95e6f11c27e1cc8709a56ddce80c2b0371b20865
parentdc794d6869c7aa18588db5edcc08daffbd244721
net: dsa: make unexported dsa_link_touch() static

dsa_link_touch() is not exported, or defined outside of the
file it is in so make it static to avoid the following warning:

net/dsa/dsa2.c:127:17: warning: symbol 'dsa_link_touch' was not declared. Should it be static?

Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa2.c