Revert "bpf: appease nightly lint"

This reverts commit 9861c1446e.

This no longer warns. See
https://github.com/rust-lang/rust/commit/d95d6ceecb372c66ed18a4e7a0bbb7.
reviewable/pr870/r1
Tamir Duberstein 1 year ago
parent 80736c5db2
commit e0cc3bc4f4
No known key found for this signature in database

@ -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