maps: remove some stale comments

pull/1161/merge
Tamir Duberstein 2 weeks ago
parent 935ba20224
commit e17feca2d6

@ -118,7 +118,6 @@ mod tests {
#[test] #[test]
fn test_try_from_wrong_map() { 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::<u32>(BPF_MAP_TYPE_ARRAY)); let map = new_map(test_utils::new_obj_map::<u32>(BPF_MAP_TYPE_ARRAY));
let map = Map::Array(map); let map = Map::Array(map);

@ -247,7 +247,6 @@ mod tests {
#[test] #[test]
fn test_try_from_wrong_map() { 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::<u32>(BPF_MAP_TYPE_ARRAY)); let map = new_map(test_utils::new_obj_map::<u32>(BPF_MAP_TYPE_ARRAY));
let map = Map::Array(map); let map = Map::Array(map);

Loading…
Cancel
Save