From: Lorenzo Pieralisi Date: Mon, 23 Dec 2024 11:59:01 +0000 (+0100) Subject: bpf: Remove unused MT_ENTRY define X-Git-Tag: v6.14-rc1~133^2~34 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=654a3381e3b4df5ab1b87e21b5d9ffd979362cd1;p=linux-block.git bpf: Remove unused MT_ENTRY define The range tree introduction removed the need for maple tree usage but missed removing the MT_ENTRY defined value that was used to mark maple tree allocated entries. Remove the MT_ENTRY define. Signed-off-by: Lorenzo Pieralisi Link: https://lore.kernel.org/r/20241223115901.14207-1-lpieralisi@kernel.org Signed-off-by: Alexei Starovoitov --- diff --git a/kernel/bpf/arena.c b/kernel/bpf/arena.c index 945a5680f6a5..f5f6b00a982e 100644 --- a/kernel/bpf/arena.c +++ b/kernel/bpf/arena.c @@ -257,8 +257,6 @@ static void arena_vm_close(struct vm_area_struct *vma) kfree(vml); } -#define MT_ENTRY ((void *)&arena_map_ops) /* unused. has to be valid pointer */ - static vm_fault_t arena_vm_fault(struct vm_fault *vmf) { struct bpf_map *map = vmf->vma->vm_file->private_data;