netdevsim: Make nsim_num_vf static
authorYueHaibing <yuehaibing@huawei.com>
Sat, 4 May 2019 08:12:07 +0000 (16:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 17:48:45 +0000 (10:48 -0700)
commit69bbbdc5e1aa0f8e9e5cbc510479cae6dd030621
tree9ed56cf84f3eb9b4074a930423cb871dc06596bc
parentc424d224404e9d565202979de119b04a68d34dee
netdevsim: Make nsim_num_vf static

Fix sparse warning:

drivers/net/netdevsim/bus.c:253:5: warning:
 symbol 'nsim_num_vf' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/bus.c