netdevsim: make debug dirs' dentries static
The root directories of netdevsim should only be used by the core to create per-device subdirectories, so limit their visibility to the core file. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
472f5975f7
commit
f61b6db378
@ -103,9 +103,6 @@ struct netdevsim {
|
||||
struct nsim_ipsec ipsec;
|
||||
};
|
||||
|
||||
extern struct dentry *nsim_ddir;
|
||||
extern struct dentry *nsim_sdev_ddir;
|
||||
|
||||
#ifdef CONFIG_BPF_SYSCALL
|
||||
int nsim_bpf_init(struct netdevsim *ns);
|
||||
void nsim_bpf_uninit(struct netdevsim *ns);
|
||||
|
Reference in New Issue
Block a user