Skip to content

Commit 3edc36a

Browse files
committed
aya: remove unhelpful comment
1 parent f890bb3 commit 3edc36a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aya/src/maps/info.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ impl MapInfo {
9797
/// Introduced in kernel v4.15.
9898
pub fn name_as_str(&self) -> Option<&str> {
9999
let name = std::str::from_utf8(self.name()).ok()?;
100-
// Char in program name was introduced in the same commit as map name
101100
(FEATURES.bpf_name() || !name.is_empty()).then_some(name)
102101
}
103102

0 commit comments

Comments
 (0)