net: altera: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 5 May 2020 03:06:45 +0000 (11:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 18:15:41 +0000 (11:15 -0700)
commitab99b7d2ae6e33077045e92b5ca173635c7eceef
treedfb883494b5f174cef1a5d278f9b9407524c5a6a
parent09f6c44aaae0f1bdb8b983d7762676d5018c53bc
net: altera: 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/altera/altera_tse_main.c