diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-20 22:30:40 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-11-29 14:30:35 +0100 |
commit | b2d0bf711f94969394a9c4a2f8923c286803cd34 (patch) | |
tree | 82cbdee3bf3f4e0c5c23fe2ea0bba56d2bd37fed /drivers/net/can/sja1000/sja1000.h | |
parent | 49ed59b72cb03116682dd6ab5c04117cc710bff3 (diff) | |
download | op-kernel-dev-b2d0bf711f94969394a9c4a2f8923c286803cd34.zip op-kernel-dev-b2d0bf711f94969394a9c4a2f8923c286803cd34.tar.gz |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/sja1000.h b/drivers/net/can/sja1000/sja1000.h index 23fff06..afa9984 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 */ |