]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: cdg: make struct tcp_cdg static
authorColin Ian King <colin.king@canonical.com>
Mon, 16 Oct 2017 13:33:21 +0000 (14:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Oct 2017 20:24:25 +0000 (21:24 +0100)
commit603acbef9d6f0a44775ea9aea2e08c5aefb75f7f
tree6f7cb2b7c66c59e876ff60368b833003da00a41b
parenta58b14bdce316a4a6f5e07ed695e7637d668f025
tcp: cdg: make struct tcp_cdg static

The structure tcp_cdg is local to the source and
does not need to be in global scope, so make it static.

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_cdg.c