Skip to contentSkip to conversation

staging: gpib: Removing unused function CFGn

PATCH New Michael Rubin 1 participant 1 message Apr 17, 2025 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: gpib: Removing unused function CFGn

Removing CFGn since it is not called by kernel code nor any of the gpib drivers.

---
 drivers/staging/gpib/uapi/gpib_user.h | 5 -----
 1 file changed, 5 deletions(-)
drivers/staging/gpib/uapi/gpib_user.h +0 -5
index eaf7399a164a..1cb6b6219e67 100644
@@ -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,
Signature · 1 line
2.43.0