net: lantiq: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Wed, 6 May 2020 11:38:46 +0000 (19:38 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:24:06 +0000 (14:24 -0700)
commit1cfecc2353c24b37eea69d9b9a606ca9f473f9bc
tree32376a04de312099c77b5e00fe0e5874984f069f
parentdf1577cbaa87d8a29bf18f41d2ba82668d59d106
net: lantiq: Fix use correct return type for ndo_start_xmit()

The method ndo_start_xmit() returns a value of type netdev_tx_t. Fix
the ndo function to use the correct type.

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_xrx200.c