mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
gfxstream: remove unused Unsupported error variant
This was introduced in a CL that did not use it, so it seems to be unnecessary (maybe copy-pasted from another error enum). Fixes a clippy warning: error: variant is never constructed: `Unsupported` BUG=None TEST=bin/clippy Change-Id: Iaccf6c86a5ef9e36efad1053776b6ee2db53a2cd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2316379 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Lingfeng Yang <lfy@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
d6ac1ab3a7
commit
0c40f609d2
1 changed files with 0 additions and 3 deletions
|
@ -33,8 +33,6 @@ use crate::virtio::resource_bridge::ResourceResponse;
|
|||
pub enum GfxStreamError {
|
||||
/// Invalid size used for a command.
|
||||
InvalidCommandSize(usize),
|
||||
/// Unsupported behavior
|
||||
Unsupported,
|
||||
}
|
||||
|
||||
impl Display for GfxStreamError {
|
||||
|
@ -47,7 +45,6 @@ impl Display for GfxStreamError {
|
|||
"gfxstream: invalid command size: {} (expected u32 multiple)",
|
||||
size
|
||||
),
|
||||
Unsupported => write!(f, "gfxstream: unsupported operation"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue