]> git.karo-electronics.de Git - karo-tx-linux.git/commit
can: esd_usb2: 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:34:05 +0000 (14:34 +0100)
commite42870465025ac6c9f3dc45f45a69d3da2d85308
tree736fafa9c34ef1e349858116cd0f1791c4068cf5
parent4480c008047d72a7d40e1e7fdc1d3b420ebcb955
can: esd_usb2: remove obsolete variable open_time

The variable open_time in the struct esd_usb2_net_priv was used to protect
esd_usb2_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/usb/esd_usb2.c