Skip to content

Commit 04c7e8a

Browse files
committed
Remove duplicated RINGBUFFER_NAME const
1 parent 59746ff commit 04c7e8a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fact/src/bpf.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ impl Bpf {
8888
}
8989

9090
fn take_ringbuffer(&mut self) -> anyhow::Result<RingBuf<MapData>> {
91-
const RINGBUFFER_NAME: &str = "rb";
9291
let ringbuf = match self.obj.take_map(RINGBUFFER_NAME) {
9392
Some(r) => r,
9493
None => bail!("Ring buffer not found"),

0 commit comments

Comments
 (0)