diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2020-09-01 10:39:28 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-09-01 15:45:58 +0200 |
commit | ebc4ecd48ca6552b223047839f66e9a9c09aea4c (patch) | |
tree | 6156c435b0a69ed8670a2df5fe655c7ca7925ad9 /drivers/net/ethernet/intel/i40e | |
parent | bpf: Remove bpf_lsm_file_mprotect from sleepable list. (diff) | |
download | linux-ebc4ecd48ca6552b223047839f66e9a9c09aea4c.tar.xz linux-ebc4ecd48ca6552b223047839f66e9a9c09aea4c.zip |
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 'drivers/net/ethernet/intel/i40e')
0 files changed, 0 insertions, 0 deletions