]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
virtchnl: remove unused structure declaration
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 16 Dec 2022 20:06:55 +0000 (12:06 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 25 Jan 2023 16:55:19 +0000 (08:55 -0800)
Nothing uses virtchnl_msg, just remove it.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
include/linux/avf/virtchnl.h

index d91af50ac58d522c576d5382ce561e4c06b85ae8..b1cfa84904b1fd930b39b8572795ae8cdeead6c8 100644 (file)
@@ -162,19 +162,6 @@ enum virtchnl_ops {
 #define VIRTCHNL_CHECK_UNION_LEN(n, X) enum virtchnl_static_asset_enum_##X \
        { virtchnl_static_assert_##X = (n)/((sizeof(union X) == (n)) ? 1 : 0) }
 
-/* Virtual channel message descriptor. This overlays the admin queue
- * descriptor. All other data is passed in external buffers.
- */
-
-struct virtchnl_msg {
-       u8 pad[8];                       /* AQ flags/opcode/len/retval fields */
-       enum virtchnl_ops v_opcode; /* avoid confusion with desc->opcode */
-       enum virtchnl_status_code v_retval;  /* ditto for desc->retval */
-       u32 vfid;                        /* used by PF when sending to VF */
-};
-
-VIRTCHNL_CHECK_STRUCT_LEN(20, virtchnl_msg);
-
 /* Message descriptions and data structures. */
 
 /* VIRTCHNL_OP_VERSION