summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2017-04-25 02:19:40 -0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-04-25 03:04:28 -0400
commitf2e72f43e7686720ddc5112fab2f5f71f47dc5e6 (patch)
tree294e3cf1813eca1876f56091b1ab19df569639c3 /net/can
parent48452c169d5ddfdbff4af556016dd9e1f47d762b (diff)
can: remove obsolete definitions
can_rx_alldev_list is a per-net data structure now. Remove it's definition here and can_rx_dev_list too. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can')
-rw-r--r--net/can/af_can.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/can/af_can.h b/net/can/af_can.h
index f273c9d9b129..84a35e97c5e0 100644
--- a/net/can/af_can.h
+++ b/net/can/af_can.h
@@ -110,9 +110,6 @@ struct s_pstats {
110 unsigned long rcv_entries_max; 110 unsigned long rcv_entries_max;
111}; 111};
112 112
113/* receive filters subscribed for 'all' CAN devices */
114extern struct dev_rcv_lists can_rx_alldev_list;
115
116/* function prototypes for the CAN networklayer procfs (proc.c) */ 113/* function prototypes for the CAN networklayer procfs (proc.c) */
117void can_init_proc(struct net *net); 114void can_init_proc(struct net *net);
118void can_remove_proc(struct net *net); 115void can_remove_proc(struct net *net);
@@ -122,6 +119,5 @@ void can_stat_update(unsigned long data);
122extern struct timer_list can_stattimer; /* timer for statistics update */ 119extern struct timer_list can_stattimer; /* timer for statistics update */
123extern struct s_stats can_stats; /* packet statistics */ 120extern struct s_stats can_stats; /* packet statistics */
124extern struct s_pstats can_pstats; /* receive list statistics */ 121extern struct s_pstats can_pstats; /* receive list statistics */
125extern struct hlist_head can_rx_dev_list; /* rx dispatcher structures */
126 122
127#endif /* AF_CAN_H */ 123#endif /* AF_CAN_H */