Skip to content

Commit

Permalink
Revert "bpf: appease nightly lint"
Browse files Browse the repository at this point in the history
This reverts commit 9861c14.

This no longer warns. See
rust-lang/rust@d95d6ce.
  • Loading branch information
tamird committed Jan 21, 2024
1 parent 80736c5 commit fd2fb98
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bpf/aya-bpf/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fd2fb98

Please sign in to comment.