diff mbox series

usb: gadget: uvc: Remove uvc_set_trace_param() function

Message ID 20180918122532.31996-1-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series usb: gadget: uvc: Remove uvc_set_trace_param() function | expand

Commit Message

Laurent Pinchart Sept. 18, 2018, 12:25 p.m. UTC
The function is never called, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/usb/gadget/function/f_uvc.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Kieran Bingham Sept. 24, 2018, 4:11 p.m. UTC | #1
Hi Laurent,

On 18/09/18 13:25, Laurent Pinchart wrote:
> The function is never called, remove it.

It does seem that way :)

> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> ---
>  drivers/usb/gadget/function/f_uvc.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/usb/gadget/function/f_uvc.c b/drivers/usb/gadget/function/f_uvc.c
> index 0cc4a6220050..8c99392df593 100644
> --- a/drivers/usb/gadget/function/f_uvc.c
> +++ b/drivers/usb/gadget/function/f_uvc.c
> @@ -197,12 +197,6 @@ static const struct usb_descriptor_header * const uvc_ss_streaming[] = {
>  	NULL,
>  };
>  
> -void uvc_set_trace_param(unsigned int trace)
> -{
> -	uvc_gadget_trace_param = trace;
> -}
> -EXPORT_SYMBOL(uvc_set_trace_param);
> -
>  /* --------------------------------------------------------------------------
>   * Control requests
>   */
>
diff mbox series

Patch

diff --git a/drivers/usb/gadget/function/f_uvc.c b/drivers/usb/gadget/function/f_uvc.c
index 0cc4a6220050..8c99392df593 100644
--- a/drivers/usb/gadget/function/f_uvc.c
+++ b/drivers/usb/gadget/function/f_uvc.c
@@ -197,12 +197,6 @@  static const struct usb_descriptor_header * const uvc_ss_streaming[] = {
 	NULL,
 };
 
-void uvc_set_trace_param(unsigned int trace)
-{
-	uvc_gadget_trace_param = trace;
-}
-EXPORT_SYMBOL(uvc_set_trace_param);
-
 /* --------------------------------------------------------------------------
  * Control requests
  */