diff options
| author | Michael Rubin <matchstick@neverthere.org> | 2025-04-17 18:38:37 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-17 20:21:42 +0300 |
| commit | e9996a9ac562b025506f062d23ea60286dbad0a1 (patch) | |
| tree | 90c235898e6193f9fbba4693178b271ff7f18b36 /drivers | |
| parent | 06886c96a1dacf54af9938931e3fc75b4f9fa624 (diff) | |
| download | linux-e9996a9ac562b025506f062d23ea60286dbad0a1.tar.xz | |
staging: gpib: Removing unused function CFGn
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/staging/gpib/uapi/gpib_user.h | 5 |
1 files changed, 0 insertions, 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, |
