mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user