Skip to content

Commit 654a338

Browse files
Lorenzo PieralisiAlexei Starovoitov
authored andcommitted
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 <lpieralisi@kernel.org> Link: https://lore.kernel.org/r/20241223115901.14207-1-lpieralisi@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent 9468f39 commit 654a338

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

kernel/bpf/arena.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@ static void arena_vm_close(struct vm_area_struct *vma)
257257
kfree(vml);
258258
}
259259

260-
#define MT_ENTRY ((void *)&arena_map_ops) /* unused. has to be valid pointer */
261-
262260
static vm_fault_t arena_vm_fault(struct vm_fault *vmf)
263261
{
264262
struct bpf_map *map = vmf->vma->vm_file->private_data;

0 commit comments

Comments
 (0)