提交 ae06b833 编写于 作者: T Thadeu Lima de Souza Cascardo 提交者: David S. Miller

can: ems_usb: removed duplicated code setting local echo support

Signed-off-by: NThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 10be7eb3
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册