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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 9468f39 commit 654a338

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)