initfs: Remove unused function

This commit is contained in:
bjorn3
2026-02-17 20:49:16 +01:00
parent 0e0287cb6d
commit 7248eda128
+1 -5
View File
@@ -11,14 +11,10 @@ macro_rules! primitive(
impl $wrapper {
#[inline]
pub const fn get(&self) -> $primitive {
pub const fn get(self) -> $primitive {
<$primitive>::from_le_bytes(self.0)
}
#[inline]
pub fn set(&mut self, primitive: $primitive) {
*self = Self::new(primitive);
}
#[inline]
pub const fn new(primitive: $primitive) -> Self {
Self(<$primitive>::to_le_bytes(primitive))
}