aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBjörn Töpel2020-09-01 10:39:28 +0200
committerDaniel Borkmann2020-09-01 15:45:58 +0200
commitebc4ecd48ca6552b223047839f66e9a9c09aea4c (patch)
tree6156c435b0a69ed8670a2df5fe655c7ca7925ad9 /scripts
parentf56407fa6e69499a06bf1e0543fa93be6922acba (diff)
bpf: {cpu,dev}map: Change various functions return type from int to void
The functions bq_enqueue(), bq_flush_to_queue(), and bq_xmit_all() in {cpu,dev}map.c always return zero. Changing the return type from int to void makes the code easier to follow. Suggested-by: David Ahern <dsahern@gmail.com> Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/bpf/20200901083928.6199-1-bjorn.topel@gmail.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions