summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-05-10 21:51:59 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-05-11 15:06:29 +0300
commit5eefe17c7ae41bac4d2d281669e8357a10f4d5a4 (patch)
tree776c3ef83ae05684faf8d6c1d50355f0a96bf4a2 /include/linux/timerqueue.h
parent93dafa92e1cf922bd06fa738bc4f85fdfb63a39f (diff)
downloadlinux-5eefe17c7ae41bac4d2d281669e8357a10f4d5a4.tar.xz
libbpf: Clean up ringbuf size adjustment implementation
Drop unused iteration variable, move overflow prevention check into the for loop. Fixes: 0087a681fa8c ("libbpf: Automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessary") Reported-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220510185159.754299-1-andrii@kernel.org
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions