Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

can: ems_usb: removed duplicated code setting local echo support

parent 10be7eb3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 */