From b6daf463e6605b5d32da103f11349fffcb8ed63a Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 24 Apr 2025 10:34:55 -0400 Subject: [PATCH] Remove stale comment since a1b46ece05e73896250f86815c4ad6df6095797d --- aya-obj/src/btf/btf.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/aya-obj/src/btf/btf.rs b/aya-obj/src/btf/btf.rs index b998cbde..e08c8c9e 100644 --- a/aya-obj/src/btf/btf.rs +++ b/aya-obj/src/btf/btf.rs @@ -464,7 +464,6 @@ impl Btf { pub fn to_bytes(&self) -> Vec { // Safety: btf_header is POD let mut buf = unsafe { bytes_of::(&self.header).to_vec() }; - // Skip the first type since it's always BtfType::Unknown for type_by_id to work buf.extend(self.types.to_bytes()); buf.put(self.strings.as_slice()); buf