gpu: remove unused duplicate constants

Remove capset constants definitions in protocol.rs, these are unecessary,
because we use the constants defined in the Rutabaga crate.

Signed-off-by: Matej Hrica <mhrica@redhat.com>
This commit is contained in:
Matej Hrica 2025-01-07 15:56:19 +01:00 committed by Stefano Garzarella
parent 4c090cf776
commit a2f0f91857

View file

@ -479,13 +479,6 @@ pub struct virtio_gpu_cmd_submit {
// reading its content from byte array.
unsafe impl ByteValued for virtio_gpu_cmd_submit {}
pub const VIRTIO_GPU_CAPSET_VIRGL: u32 = 1;
pub const VIRTIO_GPU_CAPSET_VIRGL2: u32 = 2;
#[cfg(feature = "gfxstream")]
pub const VIRTIO_GPU_CAPSET_GFXSTREAM: u32 = 3;
pub const VIRTIO_GPU_CAPSET_VENUS: u32 = 4;
pub const VIRTIO_GPU_CAPSET_CROSS_DOMAIN: u32 = 5;
// VIRTIO_GPU_CMD_GET_CAPSET_INFO
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq)]
#[repr(C)]