]> git.baikalelectronics.ru Git - kernel.git/commit
tap: make struct tap_fops static
authorColin Ian King <colin.king@canonical.com>
Sat, 12 Aug 2017 21:52:31 +0000 (22:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 03:10:31 +0000 (20:10 -0700)
commit7218b028a27e37362906e563eac10096b7cbe7cf
tree46563ee1a5dda963876c1a17d30be58dad8f7a40
parentefdb5c59547737cf782ce8a5e03656ac6e716b7c
tap: make struct tap_fops static

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

Cleans up sparse warning:
symbol 'tap_fops' 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/tap.c