]> git.baikalelectronics.ru Git - kernel.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)
commit9591eeb5d0539bd51d07ceb2e4668249d241c4cc
tree736fafa9c34ef1e349858116cd0f1791c4068cf5
parentc3f0b3ca8caf6b954050fe9be0f758f56f8b4142
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