OSDN Git Service

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)
commit4e2ce6e55050125d313408770d20dbf387dfc79c
tree95e6f11c27e1cc8709a56ddce80c2b0371b20865
parent9d4b98af8a2eb2ddb7779f2929700b5c174e9cc9
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