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

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