[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025041522-startling-parlor-aa65@gregkh>
Date: Tue, 15 Apr 2025 16:47:34 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Michael Rubin <matchstick@...erthere.org>
Cc: dpenkler@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] staging: gpib: Removing unused function CFGn
On Wed, Apr 09, 2025 at 06:18:09PM +0000, Michael Rubin wrote:
> Removing CFGn since it is not called by kernel code nor any of the gpib
> drivers.
>
> Signed-off-by: Michael Rubin <matchstick@...erthere.org>
> ---
> drivers/staging/gpib/uapi/gpib_user.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/staging/gpib/uapi/gpib_user.h b/drivers/staging/gpib/uapi/gpib_user.h
> index eaf7399a164a..1cb6b6219e67 100644
> --- a/drivers/staging/gpib/uapi/gpib_user.h
> +++ b/drivers/staging/gpib/uapi/gpib_user.h
> @@ -192,11 +192,6 @@ static inline __u8 PPE_byte(unsigned int dio_line, int sense)
> return cmd;
> }
>
> -static inline __u8 CFGn(unsigned int meters)
> -{
> - return 0x6 | (meters & 0xf);
> -}
> -
> /* mask of bits that actually matter in a command byte */
> enum {
> gpib_command_mask = 0x7f,
> --
> 2.43.0
>
>
Already in my tree? I'm confused, this didn't apply at all.
thanks,
greg k-h
Powered by blists - more mailing lists