can: ems_usb: removed duplicated code setting local echo support
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Thu, 4 Feb 2010 17:21:28 +0000 (09:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 17:21:28 +0000 (09:21 -0800)
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/usb/ems_usb.c

index bfab283ba9b18ebe8459ce247aa9a485a72a5f48..11c87840cc00f6a6559d1afa5c286656b4ab3522 100644 (file)
@@ -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 */