diff mbox series

[-next] HID: amd_sfh: Remove unused declarations

Message ID 20230817135127.36372-1-yuehaibing@huawei.com
State New
Headers show
Series [-next] HID: amd_sfh: Remove unused declarations | expand

Commit Message

Yue Haibing Aug. 17, 2023, 1:51 p.m. UTC
Commit 4b2c53d93a4b ("SFH:Transport Driver to add support of AMD Sensor
Fusion Hub (SFH)") declared but never implemented them.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/hid/amd-sfh-hid/amd_sfh_hid.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Basavaraj Natikar Aug. 21, 2023, 7:43 a.m. UTC | #1
On 8/17/2023 7:21 PM, Yue Haibing wrote:
> Commit 4b2c53d93a4b ("SFH:Transport Driver to add support of AMD Sensor
> Fusion Hub (SFH)") declared but never implemented them.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/hid/amd-sfh-hid/amd_sfh_hid.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h
> index 97296f587bc7..1c91be8daedd 100644
> --- a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h
> +++ b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h
> @@ -73,8 +73,6 @@ struct amdtp_hid_data {
>  };
>  
>  /* Interface functions between HID LL driver and AMD SFH client */
> -void hid_amdtp_set_feature(struct hid_device *hid, char *buf, u32 len, int report_id);
> -void hid_amdtp_get_report(struct hid_device *hid, int report_id, int report_type);
>  int amdtp_hid_probe(u32 cur_hid_dev, struct amdtp_cl_data *cli_data);
>  void amdtp_hid_remove(struct amdtp_cl_data *cli_data);
>  int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type);

Acked-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>

Thanks,
--
Basavaraj
diff mbox series

Patch

diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h
index 97296f587bc7..1c91be8daedd 100644
--- a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h
+++ b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h
@@ -73,8 +73,6 @@  struct amdtp_hid_data {
 };
 
 /* Interface functions between HID LL driver and AMD SFH client */
-void hid_amdtp_set_feature(struct hid_device *hid, char *buf, u32 len, int report_id);
-void hid_amdtp_get_report(struct hid_device *hid, int report_id, int report_type);
 int amdtp_hid_probe(u32 cur_hid_dev, struct amdtp_cl_data *cli_data);
 void amdtp_hid_remove(struct amdtp_cl_data *cli_data);
 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type);