diff --git a/test/cases/020_elf/000_maps/map_test.ebpf.rs b/test/cases/020_elf/000_maps/map_test.ebpf.rs index 609e9362..c8d45df3 100644 --- a/test/cases/020_elf/000_maps/map_test.ebpf.rs +++ b/test/cases/020_elf/000_maps/map_test.ebpf.rs @@ -14,10 +14,10 @@ use aya_bpf::{ }; #[map] -static mut FOO: Array = Array::::with_max_entries(10, 0); +static FOO: Array = Array::::with_max_entries(10, 0); #[map(name = "BAR")] -static mut BAZ: Array = Array::::with_max_entries(10, 0); +static BAZ: Array = Array::::with_max_entries(10, 0); #[xdp] pub fn pass(ctx: XdpContext) -> u32 { @@ -34,4 +34,4 @@ unsafe fn try_pass(_ctx: XdpContext) -> Result { #[panic_handler] fn panic(_info: &core::panic::PanicInfo) -> ! { unsafe { core::hint::unreachable_unchecked() } -} \ No newline at end of file +}