OSDN Git Service

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)
commit7b954ed7529b6bae8712345dd9d22afa57b96dca
treef9a0a1bea884ca5e9b9e896c56abe4a4df65a07d
parent97fcc193f67e584dc6564767c6e186fe1ecd71d2
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