From 0e85dea3ffb6ce6cfeca95dde3fd25a5cb8d67e7 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 15 Feb 2022 18:00:01 +0100 Subject: [PATCH] nfs: remove unused events variable --- rust/src/nfs/nfs.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rust/src/nfs/nfs.rs b/rust/src/nfs/nfs.rs index b232da3b1e..0781dcc228 100644 --- a/rust/src/nfs/nfs.rs +++ b/rust/src/nfs/nfs.rs @@ -293,8 +293,6 @@ pub struct NFSState { pub nfs_version: u16, - pub events: u16, - /// tx counter for assigning incrementing id's to tx's tx_id: u64, @@ -330,7 +328,6 @@ impl NFSState { check_post_gap_file_txs:false, post_gap_files_checked:false, nfs_version:0, - events:0, tx_id:0, ts: 0, } @@ -402,7 +399,6 @@ impl NFSState { let tx = &mut self.transactions[len - 1]; tx.tx_data.set_event(event as u8); - self.events += 1; } // TODO maybe not enough users to justify a func