diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2020-09-01 11:39:28 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-09-01 16:45:58 +0300 |
commit | ebc4ecd48ca6552b223047839f66e9a9c09aea4c (patch) | |
tree | 6156c435b0a69ed8670a2df5fe655c7ca7925ad9 /include/linux/netdevice.h | |
parent | f56407fa6e69499a06bf1e0543fa93be6922acba (diff) | |
download | linux-ebc4ecd48ca6552b223047839f66e9a9c09aea4c.tar.xz |
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 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions