misc: clippy: add unnecessary_semicolon

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-11-18 12:23:48 +01:00
committed by Rob Bradford
parent 06390342a6
commit 7cb73e9e56
36 changed files with 72 additions and 73 deletions

View File

@@ -223,7 +223,7 @@ impl BlockEpollHandler {
queue.go_to_previous_position();
break;
}
};
}
}
request.set_writeback(self.writeback.load(Ordering::Acquire));

View File

@@ -124,7 +124,7 @@ impl EpollHelperHandler for NetCtrlEpollHandler {
"Error getting notification state of control queue: {e}"
)));
}
};
}
}
_ => {
return Err(EpollHelperError::HandleEvent(anyhow!(

View File

@@ -54,7 +54,7 @@ where
thread_exit_evt.write(1).ok();
}
}
};
}
})
.map(|thread| epoll_threads.push(thread))
.map_err(|e| {

View File

@@ -1192,7 +1192,7 @@ impl PciDevice for VirtioPciDevice {
}
}
_ => (),
};
}
// Try and activate the device if the driver status has changed
if self.needs_activation() {

View File

@@ -252,7 +252,7 @@ where
self.last_fwd_cnt_to_peer = self.fwd_cnt;
return Ok(());
}
};
}
}
// A credit update is basically a no-op, so we should only waste a perfectly fine RX
@@ -380,7 +380,7 @@ where
pkt.hdr()
);
}
};
}
Ok(())
}
@@ -459,7 +459,7 @@ where
// it does, so let's absorb it.
}
_ => self.kill(),
};
}
0
});
self.fwd_cnt += Wrapping(flushed as u32);

View File

@@ -753,7 +753,7 @@ impl VsockMuxer {
conn.kill();
warn!("vsock: unable to ack host connection: {err:?}");
}
};
}
}
// If the connection wasn't previously scheduled for RX, add it to our RX queue.
@@ -975,7 +975,7 @@ mod unit_tests {
EpollListener::LocalStream(_) => local_lsn_count += 1,
EpollListener::Connection { .. } => conn_lsn_count += 1,
_ => (),
};
}
}
(local_lsn_count, conn_lsn_count)
}

View File

@@ -102,7 +102,7 @@ impl MuxerRxQ {
MuxerRx::ConnRx(_) => {
self.synced = false;
}
};
}
false
}