From: Thadeu Lima de Souza Cascardo Date: Thu, 4 Feb 2010 17:21:28 +0000 (-0800) Subject: can: ems_usb: removed duplicated code setting local echo support X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ae06b8330aefb0338017c427d5694fc8ea9144c8;p=openwrt%2Fstaging%2Fblogic.git can: ems_usb: removed duplicated code setting local echo support Signed-off-by: Thadeu Lima de Souza Cascardo Signed-off-by: David S. Miller --- 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, dev->can.do_set_mode = ems_usb_set_mode; dev->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES; - netdev->flags |= IFF_ECHO; /* we support local echo */ - netdev->netdev_ops = &ems_usb_netdev_ops; netdev->flags |= IFF_ECHO; /* we support local echo */