tuntap: fix sparse warning
authorJason Wang <jasowang@redhat.com>
Tue, 18 Dec 2012 03:00:27 +0000 (11:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2012 04:49:06 +0000 (20:49 -0800)
commitd32649d1712b2e66d4ffebe0076561e15b598caf
tree73926d278887865b950270bfdcce3331cce14b24
parent76fe45812a3b134c39170ca32dfd4b7217d33145
tuntap: fix sparse warning

Make tun_enable_queue() static to fix the sparse warning:

drivers/net/tun.c:399:19: sparse: symbol 'tun_enable_queue' was not declared. Should it be static?

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c