summary refs log tree commit diff
path: root/devices/src/ioapic.rs
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2019-10-16 13:33:27 -0700
committerCommit Bot <commit-bot@chromium.org>2019-11-08 22:18:17 +0000
commita1bc67ffd7bac7bdd26fe0453a3020673a9f3786 (patch)
treeec66507c8d30cf5e3c40f28af7fdc7780a61bf1f /devices/src/ioapic.rs
parent0124500a281be85eb4bc671cdfd4fb3bfe3b30fb (diff)
downloadcrosvm-a1bc67ffd7bac7bdd26fe0453a3020673a9f3786.tar
crosvm-a1bc67ffd7bac7bdd26fe0453a3020673a9f3786.tar.gz
crosvm-a1bc67ffd7bac7bdd26fe0453a3020673a9f3786.tar.bz2
crosvm-a1bc67ffd7bac7bdd26fe0453a3020673a9f3786.tar.lz
crosvm-a1bc67ffd7bac7bdd26fe0453a3020673a9f3786.tar.xz
crosvm-a1bc67ffd7bac7bdd26fe0453a3020673a9f3786.tar.zst
crosvm-a1bc67ffd7bac7bdd26fe0453a3020673a9f3786.zip
Remove unneeded return statements
BUG=None
TEST=bin/clippy

Change-Id: I2cf3b961baefd21fedaa6b545c1c7ecfb25a9efc
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1896088
Reviewed-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'devices/src/ioapic.rs')
-rw-r--r--devices/src/ioapic.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/devices/src/ioapic.rs b/devices/src/ioapic.rs
index ce9f2b2..5f8270c 100644
--- a/devices/src/ioapic.rs
+++ b/devices/src/ioapic.rs
@@ -142,7 +142,6 @@ impl BusDevice for Ioapic {
             }
             _ => {
                 warn!("IOAPIC: Bad write to offset {}", offset);
-                return;
             }
         }
     }