]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
staging: gpib: Removing unused function CFGn
authorMichael Rubin <matchstick@neverthere.org>
Thu, 17 Apr 2025 15:38:37 +0000 (15:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2025 17:21:42 +0000 (19:21 +0200)
Removing CFGn since it is not called by kernel code nor any of the gpib
drivers.

Signed-off-by: Michael Rubin <matchstick@neverthere.org>
Link: https://lore.kernel.org/r/20250417153837.92690-1-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/uapi/gpib_user.h

index eaf7399a164af465deceeb8c1cdf14ae712bbaff..1cb6b6219e675fe325254eb998df38b6151a1953 100644 (file)
@@ -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,