netpoll: Fix use correct return type for ndo_start_xmit()
authorYunjian Wang <wangyunjian@huawei.com>
Wed, 29 Apr 2020 10:20:58 +0000 (18:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Apr 2020 18:47:16 +0000 (11:47 -0700)
commita54776f2c4939bdee084c9ecd00a4a5a25b7c429
treec240332553bc88fe038d9683ff6daac529814e6e
parent00b5aac59966ec3d608dc150aba552121e7de4f0
netpoll: 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>
net/core/netpoll.c