summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/usb/peak_usb/pcan_usb_core.h
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-07-20 22:30:40 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-11-29 14:34:06 +0100
commit823d7a1f761d6404babaab04cc8b1724186cf2c8 (patch)
treef5279b5d87e9f2c79eff026e80aeed38f57408df /drivers/net/can/usb/peak_usb/pcan_usb_core.h
parente42870465025ac6c9f3dc45f45a69d3da2d85308 (diff)
downloadop-kernel-dev-823d7a1f761d6404babaab04cc8b1724186cf2c8.zip
op-kernel-dev-823d7a1f761d6404babaab04cc8b1724186cf2c8.tar.gz
can: pcan_usb_core: remove obsolete variable open_time
The variable open_time in the struct peak_usb_device was used to protect peak_usb_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/usb/peak_usb/pcan_usb_core.h')
-rw-r--r--drivers/net/can/usb/peak_usb/pcan_usb_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_core.h b/drivers/net/can/usb/peak_usb/pcan_usb_core.h
index c8e5e91..073b47f 100644
--- a/drivers/net/can/usb/peak_usb/pcan_usb_core.h
+++ b/drivers/net/can/usb/peak_usb/pcan_usb_core.h
@@ -104,7 +104,6 @@ struct peak_usb_device {
struct can_priv can;
struct peak_usb_adapter *adapter;
unsigned int ctrl_idx;
- int open_time;
u32 state;
struct sk_buff *echo_skb[PCAN_USB_MAX_TX_URBS];
OpenPOWER on IntegriCloud