Explorar el Código

aya: remove unhelpful comment

Tamir Duberstein hace 2 semanas
padre
commit
3edc36af9d
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      aya/src/maps/info.rs

+ 0 - 1
aya/src/maps/info.rs

@@ -97,7 +97,6 @@ impl MapInfo {
     /// Introduced in kernel v4.15.
     pub fn name_as_str(&self) -> Option<&str> {
         let name = std::str::from_utf8(self.name()).ok()?;
-        // Char in program name was introduced in the same commit as map name
         (FEATURES.bpf_name() || !name.is_empty()).then_some(name)
     }