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 10 months ago
parent 80736c5db2
commit fd2fb98792

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

Loading…
Cancel
Save