maps: remove some stale comments

reviewable/pr1190/r4
Tamir Duberstein 2 months ago
parent ae7cc46056
commit fc75077c3e
No known key found for this signature in database

@ -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