[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zmr0GV57EGwxcYeM@gallifrey>
Date: Thu, 13 Jun 2024 13:28:57 +0000
From: "Dr. David Alan Gilbert" <linux@...blig.org>
To: johan@...nel.org, gregkh@...uxfoundation.org
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB: serial: spcp8x5: remove unused struct
'spcp8x5_usb_ctrl_arg'
* linux@...blig.org (linux@...blig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@...blig.org>
>
> 'spcp8x5_usb_ctrl_arg' has been unused since the original
> commit 619a6f1d1423 ("USB: add usb-serial spcp8x5 driver").
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@...blig.org>
Ping?
Dave
> ---
> drivers/usb/serial/spcp8x5.c | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c
> index 09a972a838ee..6b294bf8bc43 100644
> --- a/drivers/usb/serial/spcp8x5.c
> +++ b/drivers/usb/serial/spcp8x5.c
> @@ -49,16 +49,6 @@ static const struct usb_device_id id_table[] = {
> };
> MODULE_DEVICE_TABLE(usb, id_table);
>
> -struct spcp8x5_usb_ctrl_arg {
> - u8 type;
> - u8 cmd;
> - u8 cmd_type;
> - u16 value;
> - u16 index;
> - u16 length;
> -};
> -
> -
> /* spcp8x5 spec register define */
> #define MCR_CONTROL_LINE_RTS 0x02
> #define MCR_CONTROL_LINE_DTR 0x01
> --
> 2.45.1
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
Powered by blists - more mailing lists