diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-10 13:08:29 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-07-11 12:23:15 +0200 |
commit | 274c4a6d529cff48b241b15627b46b0f65987ade (patch) | |
tree | 4b5de264da12064555d8f4552eb5a10e31689da6 /tools/lib/bpf/bpf_prog_linfo.c | |
parent | 6843306689aff3aea608e4d2630b2a5a0137f827 (diff) |
net/core: Make use of assign_bit() API
We have for some time the assign_bit() API to replace open coded
if (foo)
set_bit(n, bar);
else
clear_bit(n, bar);
Use this API in the code. No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Message-ID: <20230710100830.89936-1-andriy.shevchenko@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions