Skip to content

Commit

Permalink
can: ems_usb: removed duplicated code setting local echo support
Browse files Browse the repository at this point in the history
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and David S. Miller committed Feb 4, 2010
1 parent 10be7eb commit ae06b83
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/can/usb/ems_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit ae06b83

Please sign in to comment.