Skip to content

Commit 561a163

Browse files
Yue Haibingmstsirkin
authored andcommitted
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>
1 parent 9dba419 commit 561a163

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/vdpa/ifcvf/ifcvf_base.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,12 @@ void ifcvf_write_dev_config(struct ifcvf_hw *hw, u64 offset,
112112
const void *src, int length);
113113
u8 ifcvf_get_status(struct ifcvf_hw *hw);
114114
void ifcvf_set_status(struct ifcvf_hw *hw, u8 status);
115-
void io_write64_twopart(u64 val, u32 *lo, u32 *hi);
116115
void ifcvf_reset(struct ifcvf_hw *hw);
117116
u64 ifcvf_get_dev_features(struct ifcvf_hw *hw);
118117
u64 ifcvf_get_hw_features(struct ifcvf_hw *hw);
119118
int ifcvf_verify_min_features(struct ifcvf_hw *hw, u64 features);
120119
u16 ifcvf_get_vq_state(struct ifcvf_hw *hw, u16 qid);
121120
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);
124121
u32 ifcvf_get_config_size(struct ifcvf_hw *hw);
125122
u16 ifcvf_set_vq_vector(struct ifcvf_hw *hw, u16 qid, int vector);
126123
u16 ifcvf_set_config_vector(struct ifcvf_hw *hw, int vector);

drivers/vdpa/pds/cmds.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ int pds_vdpa_cmd_init_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx,
1414
struct pds_vdpa_vq_info *vq_info);
1515
int pds_vdpa_cmd_reset_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx,
1616
struct pds_vdpa_vq_info *vq_info);
17-
int pds_vdpa_cmd_set_features(struct pds_vdpa_device *pdsv, u64 features);
1817
#endif /* _VDPA_CMDS_H_ */

0 commit comments

Comments
 (0)