can: sja1000: remove obsolete variable open_time
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 20 Jul 2012 20:30:40 +0000 (22:30 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 29 Nov 2012 13:30:35 +0000 (14:30 +0100)
commitb2d0bf711f94969394a9c4a2f8923c286803cd34
tree82cbdee3bf3f4e0c5c23fe2ea0bba56d2bd37fed
parent49ed59b72cb03116682dd6ab5c04117cc710bff3
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>
drivers/net/can/sja1000/sja1000.c
drivers/net/can/sja1000/sja1000.h