Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

vdpa: Remove unused declarations

There is no caller and implementation in tree.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Message-Id: <20240819140930.122019-1-yuehaibing@huawei.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Zhu Lingshan <lingshan.zhu@kernel.org>
Reviewed-by: Shannon Nelson &lt;<a href="mailto:shannon.nelson@amd.com" target="_blank">shannon.nelson@amd.com</a>&gt;<br>
Reviewed-by: Zhu Lingshan <lingshan.zhu@kernel.org>

authored by

Yue Haibing and committed by
Michael S. Tsirkin
561a1636 9dba4195

-4
-3
drivers/vdpa/ifcvf/ifcvf_base.h
··· 112 112 const void *src, int length); 113 113 u8 ifcvf_get_status(struct ifcvf_hw *hw); 114 114 void ifcvf_set_status(struct ifcvf_hw *hw, u8 status); 115 - void io_write64_twopart(u64 val, u32 *lo, u32 *hi); 116 115 void ifcvf_reset(struct ifcvf_hw *hw); 117 116 u64 ifcvf_get_dev_features(struct ifcvf_hw *hw); 118 117 u64 ifcvf_get_hw_features(struct ifcvf_hw *hw); 119 118 int ifcvf_verify_min_features(struct ifcvf_hw *hw, u64 features); 120 119 u16 ifcvf_get_vq_state(struct ifcvf_hw *hw, u16 qid); 121 120 int ifcvf_set_vq_state(struct ifcvf_hw *hw, u16 qid, u16 num); 122 - struct ifcvf_adapter *vf_to_adapter(struct ifcvf_hw *hw); 123 - int ifcvf_probed_virtio_net(struct ifcvf_hw *hw); 124 121 u32 ifcvf_get_config_size(struct ifcvf_hw *hw); 125 122 u16 ifcvf_set_vq_vector(struct ifcvf_hw *hw, u16 qid, int vector); 126 123 u16 ifcvf_set_config_vector(struct ifcvf_hw *hw, int vector);
-1
drivers/vdpa/pds/cmds.h
··· 14 14 struct pds_vdpa_vq_info *vq_info); 15 15 int pds_vdpa_cmd_reset_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx, 16 16 struct pds_vdpa_vq_info *vq_info); 17 - int pds_vdpa_cmd_set_features(struct pds_vdpa_device *pdsv, u64 features); 18 17 #endif /* _VDPA_CMDS_H_ */