AF_XDP-interaction: Fix another warning in complete_tx

warning: ‘return’ with no value, in function returning non-void

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
This commit is contained in:
Jesper Dangaard Brouer
2022-01-21 12:09:30 +01:00
parent 96e5daf52c
commit e1b18d7b12

View File

@@ -561,7 +561,7 @@ static int complete_tx(struct xsk_socket_info *xsk)
int err;
if (!xsk->outstanding_tx)
return;
return 0;
/* Notify kernel via sendto syscall that TX packet are avail */
err = kick_tx(xsk);