|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 05/10] rust: pl011: pull interrupt updates out of read/write ops |
Date: | Wed, 22 Jan 2025 17:49:23 +0100 |
> if event == bindings::QEMUChrEvent::CHR_EVENT_BREAK && !self.loopback_enabled() {
> - self.put_fifo(registers::Data::BREAK.into());
> + let update = self.put_fifo(registers::Data::BREAK.into());
We can omit this `update` variable.
Reviewed-by: Zhao Liu <zhao.liu@intel.com>
[Prev in Thread] | Current Thread | [Next in Thread] |