From e17feca2d6d45365fc1d717f0735ee4dd9664ec3 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 2 Mar 2025 11:31:13 -0500 Subject: [PATCH] maps: remove some stale comments --- aya/src/maps/bloom_filter.rs | 1 - aya/src/maps/lpm_trie.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/aya/src/maps/bloom_filter.rs b/aya/src/maps/bloom_filter.rs index 30e37e7d..08c45360 100644 --- a/aya/src/maps/bloom_filter.rs +++ b/aya/src/maps/bloom_filter.rs @@ -118,7 +118,6 @@ mod tests { #[test] fn test_try_from_wrong_map() { - // Use any map type here other than BPF_MAP_TYPE_PERF_EVENT_ARRAY as it will trip miri let map = new_map(test_utils::new_obj_map::(BPF_MAP_TYPE_ARRAY)); let map = Map::Array(map); diff --git a/aya/src/maps/lpm_trie.rs b/aya/src/maps/lpm_trie.rs index 33a60652..b247d38d 100644 --- a/aya/src/maps/lpm_trie.rs +++ b/aya/src/maps/lpm_trie.rs @@ -247,7 +247,6 @@ mod tests { #[test] fn test_try_from_wrong_map() { - // Use any map type here other than BPF_MAP_TYPE_PERF_EVENT_ARRAY as it will trip miri let map = new_map(test_utils::new_obj_map::(BPF_MAP_TYPE_ARRAY)); let map = Map::Array(map);