bpf: remove page size caching
get_pagesize() has a static cache anyway, no need to duplicate it. * bpf.c (SYS_FUNC(bpf)): Remove static size_t page_size and its initialisation, use get_pagesize() as the size of buf directly.
This commit is contained in:
parent
fcce81ed1a
commit
9ffdd1dfb6
Loading…
x
Reference in New Issue
Block a user