]> 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)
commit6c7016ec6ff9e22feae70c5395a89226d1259d38
treef9a0a1bea884ca5e9b9e896c56abe4a4df65a07d
parent050f9509d0cad039552916f3cff3601b3365fcd8
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