mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
x86_64: fix warning on 1.40
The extra parens crept back in during a recent refactoring. Change-Id: Iaba13ddea9b7bada09f6079db7e7f8133cbfc896 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1994726 Reviewed-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Dylan Reid <dgreid@chromium.org> Tested-by: Dylan Reid <dgreid@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
a54c64302a
commit
4377f048e9
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ impl X8664arch {
|
||||||
io_bus: &mut devices::Bus,
|
io_bus: &mut devices::Bus,
|
||||||
serial_parameters: &BTreeMap<u8, SerialParameters>,
|
serial_parameters: &BTreeMap<u8, SerialParameters>,
|
||||||
serial_jail: Option<Minijail>,
|
serial_jail: Option<Minijail>,
|
||||||
) -> Result<(Option<u8>)> {
|
) -> Result<Option<u8>> {
|
||||||
let com_evt_1_3 = EventFd::new().map_err(Error::CreateEventFd)?;
|
let com_evt_1_3 = EventFd::new().map_err(Error::CreateEventFd)?;
|
||||||
let com_evt_2_4 = EventFd::new().map_err(Error::CreateEventFd)?;
|
let com_evt_2_4 = EventFd::new().map_err(Error::CreateEventFd)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue