virtgpu_kumquat_ffi: mark single-item match as expected

It will presumably get more values in the future and should not just be
replaced with an `if`.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38924>
This commit is contained in:
Eric Engestrom 2025-12-12 14:36:24 +01:00 committed by Marge Bot
parent 590daa1282
commit 4f91d4d888

View file

@ -183,6 +183,7 @@ pub unsafe extern "C" fn virtgpu_kumquat_context_init(
let mut capset_id: u64 = 0;
for param in context_params {
#[expect(clippy::single_match)]
match param.param {
VIRTGPU_KUMQUAT_CONTEXT_PARAM_CAPSET_ID => {
capset_id = param.value;