aboutsummaryrefslogtreecommitdiffstats
path: root/net/can/af_can.h
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2017-04-25 08:19:41 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-04-25 09:04:29 +0200
commitcb5635a3677679666e4e81ecbb209d32f13dedcd (patch)
tree2d5357aa8fbb22b3e8b0baba8c838b0234c402d1 /net/can/af_can.h
parentcan: remove obsolete definitions (diff)
downloadlinux-dev-cb5635a3677679666e4e81ecbb209d32f13dedcd.tar.xz
linux-dev-cb5635a3677679666e4e81ecbb209d32f13dedcd.zip
can: complete initial namespace support
The statistics and its proc output was not implemented as per-net in the initial network namespace support by Mario Kicherer (8e8cda6d737d). This patch adds the missing per-net statistics for the CAN subsystem. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can/af_can.h')
-rw-r--r--net/can/af_can.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/can/af_can.h b/net/can/af_can.h
index 84a35e97c5e0..d0ef45bb2a72 100644
--- a/net/can/af_can.h
+++ b/net/can/af_can.h
@@ -115,9 +115,4 @@ void can_init_proc(struct net *net);
void can_remove_proc(struct net *net);
void can_stat_update(unsigned long data);
-/* structures and variables from af_can.c needed in proc.c for reading */
-extern struct timer_list can_stattimer; /* timer for statistics update */
-extern struct s_stats can_stats; /* packet statistics */
-extern struct s_pstats can_pstats; /* receive list statistics */
-
#endif /* AF_CAN_H */