summaryrefslogtreecommitdiff
path: root/drivers/net/can/sja1000/sja1000.h
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-07-21 00:30:40 +0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-11-29 17:30:35 +0400
commitb2d0bf711f94969394a9c4a2f8923c286803cd34 (patch)
tree82cbdee3bf3f4e0c5c23fe2ea0bba56d2bd37fed /drivers/net/can/sja1000/sja1000.h
parent49ed59b72cb03116682dd6ab5c04117cc710bff3 (diff)
downloadlinux-b2d0bf711f94969394a9c4a2f8923c286803cd34.tar.xz
can: sja1000: remove obsolete variable open_time
The variable open_time in the struct sja1000_priv was used to protect sja1000_set_mode() only to be called, if the interface is up. Now the CAN device infrastructure takes care of this. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/sja1000/sja1000.h')
-rw-r--r--drivers/net/can/sja1000/sja1000.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/sja1000.h b/drivers/net/can/sja1000/sja1000.h
index 23fff06875f5..afa99847a510 100644
--- a/drivers/net/can/sja1000/sja1000.h
+++ b/drivers/net/can/sja1000/sja1000.h
@@ -152,7 +152,6 @@
*/
struct sja1000_priv {
struct can_priv can; /* must be the first member */
- int open_time;
struct sk_buff *echo_skb;
/* the lower-layer is responsible for appropriate locking */