diff mbox series

[-next] media: siano: Remove unused declarations

Message ID 20240823094839.3142472-1-yuehaibing@huawei.com (mailing list archive)
State New
Headers show
Series [-next] media: siano: Remove unused declarations | expand

Commit Message

Yue Haibing Aug. 23, 2024, 9:48 a.m. UTC
There is no caller and implementation in tree, so can remove them.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/media/common/siano/smscoreapi.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

Ricardo Ribalda Aug. 27, 2024, 8:30 a.m. UTC | #1
On Fri, 23 Aug 2024 at 11:51, Yue Haibing <yuehaibing@huawei.com> wrote:
>
> There is no caller and implementation in tree, so can remove them.
>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/media/common/siano/smscoreapi.h | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/drivers/media/common/siano/smscoreapi.h b/drivers/media/common/siano/smscoreapi.h
> index 3c15082ce0e3..d945a2d6d624 100644
> --- a/drivers/media/common/siano/smscoreapi.h
> +++ b/drivers/media/common/siano/smscoreapi.h
> @@ -1115,12 +1115,6 @@ extern int smsclient_sendrequest(struct smscore_client_t *client,
>  extern void smscore_onresponse(struct smscore_device_t *coredev,
>                                struct smscore_buffer_t *cb);
>
> -extern int smscore_get_common_buffer_size(struct smscore_device_t *coredev);
> -extern int smscore_map_common_buffer(struct smscore_device_t *coredev,
> -                                     struct vm_area_struct *vma);
> -extern int smscore_send_fw_file(struct smscore_device_t *coredev,
> -                               u8 *ufwbuf, int size);
> -
>  extern
>  struct smscore_buffer_t *smscore_getbuffer(struct smscore_device_t *coredev);
>  extern void smscore_putbuffer(struct smscore_device_t *coredev,
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/drivers/media/common/siano/smscoreapi.h b/drivers/media/common/siano/smscoreapi.h
index 3c15082ce0e3..d945a2d6d624 100644
--- a/drivers/media/common/siano/smscoreapi.h
+++ b/drivers/media/common/siano/smscoreapi.h
@@ -1115,12 +1115,6 @@  extern int smsclient_sendrequest(struct smscore_client_t *client,
 extern void smscore_onresponse(struct smscore_device_t *coredev,
 			       struct smscore_buffer_t *cb);
 
-extern int smscore_get_common_buffer_size(struct smscore_device_t *coredev);
-extern int smscore_map_common_buffer(struct smscore_device_t *coredev,
-				      struct vm_area_struct *vma);
-extern int smscore_send_fw_file(struct smscore_device_t *coredev,
-				u8 *ufwbuf, int size);
-
 extern
 struct smscore_buffer_t *smscore_getbuffer(struct smscore_device_t *coredev);
 extern void smscore_putbuffer(struct smscore_device_t *coredev,