device: virtio: video: Add dead_code attribute to SetControl

BUG=b:161774071
TEST=None

Change-Id: Ia9c9ba1a316a409c17ac601e94bd3f6a75b24af5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2355847
Tested-by: Alex Lau <alexlau@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
This commit is contained in:
Alex Lau 2020-08-14 19:21:22 +09:00 committed by Commit Bot
parent 3035dd87df
commit 38e8750176

View file

@ -45,6 +45,8 @@ pub enum CmdResponse {
},
QueryControl(QueryCtrlResponse),
GetControl(CtrlVal),
// TODO(alexlau): SetControl is unused, remove this after encoder CL lands.
#[allow(dead_code)]
SetControl,
Error(CmdError),
}