rionet: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Thu, 30 Apr 2020 11:26:40 +0000 (19:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2020 19:15:13 +0000 (12:15 -0700)
commit51070a3627a943b13c7e0a32bbfa96cb8dca4493
treeb035db2bac150704a71223d5d3d9517e9840c59e
parent99b2292ba21b47bbd97d33ab20892347ad2ac351
rionet: 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/rionet.c