diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-07-27 00:25:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-27 07:28:54 +0300 |
commit | f61b6db378539e69d8525a1b5001637df1e13040 (patch) | |
tree | 6b71854f48fb71579589c20c16723c549851b015 /drivers/net/netdevsim/netdevsim.h | |
parent | 472f5975f70d6424f64868e66a8a02da4cfcff47 (diff) | |
download | linux-f61b6db378539e69d8525a1b5001637df1e13040.tar.xz |
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>
Diffstat (limited to 'drivers/net/netdevsim/netdevsim.h')
-rw-r--r-- | drivers/net/netdevsim/netdevsim.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/netdevsim/netdevsim.h b/drivers/net/netdevsim/netdevsim.h index 02be199eb005..384c254fafc5 100644 --- a/drivers/net/netdevsim/netdevsim.h +++ b/drivers/net/netdevsim/netdevsim.h @@ -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); |