Revert "bpf: appease nightly lint"

This reverts commit 9861c1446e.

This no longer warns. See
https://github.com/rust-lang/rust/commit/d95d6ceecb372c66ed18a4e7a0bbb7.
pull/872/head
Tamir Duberstein 8 months ago
parent 80736c5db2
commit fd2fb98792

@ -734,10 +734,7 @@ pub use bpf_printk;
/// Argument ready to be passed to `printk` BPF helper.
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct PrintkArg(
#[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/119659): Remove.
u64,
);
pub struct PrintkArg(u64);
impl PrintkArg {
/// Manually construct a `printk` BPF helper argument.

Loading…
Cancel
Save