]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: make function ksz_rcv static
authorColin Ian King <colin.king@canonical.com>
Thu, 1 Jun 2017 12:22:42 +0000 (13:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 16:12:40 +0000 (12:12 -0400)
commit6382b23a252d8caca7334c6df1c1e5568fbad29d
treef9a0a1bea884ca5e9b9e896c56abe4a4df65a07d
parent06ab097e37da19a2c3bc0867940f267b09f9c7a9
net: dsa: make function ksz_rcv static

function ksz_rcv can be made static as it does not need to be
in global scope. Reformat arguments to make it checkpatch warning
free too.

Cleans up sparse warning: "symbol 'ksz_rcv' was not declared. Should
it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Woojung Huh <Woojung.Huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_ksz.c