virtio-net: make array guest_offloads static
authorColin Ian King <colin.king@canonical.com>
Sat, 12 Aug 2017 21:45:53 +0000 (22:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 03:09:49 +0000 (20:09 -0700)
commit7acd43296889a71ecf9c20498465f672e667a9ad
tree67679e4566a398f3ed6a7b366c3d0488a4df9061
parent5a7a8346498c02bbb0d6512c561f1dbfab0fcf62
virtio-net: make array guest_offloads static

The array guest_offloads is local to the source and does not need to
be in global scope, so make it static. Also tweak formatting.

Cleans up sparse warnings:
symbol 'guest_offloads' 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>
drivers/net/virtio_net.c