diff options
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | 2010-02-04 12:21:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-04 12:21:28 -0500 |
commit | ae06b8330aefb0338017c427d5694fc8ea9144c8 (patch) | |
tree | 8a3d48b67b4dd04d03da462a269cd031a926ec51 /drivers/net/can/usb | |
parent | 10be7eb36b93364b98688831ee7d26f58402bb96 (diff) |
can: ems_usb: removed duplicated code setting local echo support
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/usb')
-rw-r--r-- | drivers/net/can/usb/ems_usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/usb/ems_usb.c b/drivers/net/can/usb/ems_usb.c index bfab283ba9b1..11c87840cc00 100644 --- a/drivers/net/can/usb/ems_usb.c +++ b/drivers/net/can/usb/ems_usb.c | |||
@@ -1024,8 +1024,6 @@ static int ems_usb_probe(struct usb_interface *intf, | |||
1024 | dev->can.do_set_mode = ems_usb_set_mode; | 1024 | dev->can.do_set_mode = ems_usb_set_mode; |
1025 | dev->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES; | 1025 | dev->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES; |
1026 | 1026 | ||
1027 | netdev->flags |= IFF_ECHO; /* we support local echo */ | ||
1028 | |||
1029 | netdev->netdev_ops = &ems_usb_netdev_ops; | 1027 | netdev->netdev_ops = &ems_usb_netdev_ops; |
1030 | 1028 | ||
1031 | netdev->flags |= IFF_ECHO; /* we support local echo */ | 1029 | netdev->flags |= IFF_ECHO; /* we support local echo */ |