Commit ae06b833 authored by Thadeu Lima de Souza Cascardo's avatar Thadeu Lima de Souza Cascardo Committed by David S. Miller

can: ems_usb: removed duplicated code setting local echo support

Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 10be7eb3
...@@ -1024,8 +1024,6 @@ static int ems_usb_probe(struct usb_interface *intf, ...@@ -1024,8 +1024,6 @@ static int ems_usb_probe(struct usb_interface *intf,
dev->can.do_set_mode = ems_usb_set_mode; dev->can.do_set_mode = ems_usb_set_mode;
dev->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES; dev->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES;
netdev->flags |= IFF_ECHO; /* we support local echo */
netdev->netdev_ops = &ems_usb_netdev_ops; netdev->netdev_ops = &ems_usb_netdev_ops;
netdev->flags |= IFF_ECHO; /* we support local echo */ netdev->flags |= IFF_ECHO; /* we support local echo */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment