Skip to contentSkip to conversation

Input: Remove unused BUS IDs

RFC In review Jarkko Nikula 2 participants 2 messages Dec 1, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC 1/1 Input: Remove unused BUS IDs

There are a few BUS IDs that are not used anywhere in kernel tree:

- BUS_ISAPNP
Has no changes or use in kernel git history
- BUS_GSC
Was added by commit 6ab0f5cd3644 ("[PARISC] Update parisc specific input code from parisc tree") but never used
- BUS_ATARI
Became unused after commit 6615c5b25e0b ("m68k: Atari input drivers cleanup")

---
I'm not familiar with the input and don't know is there use for these in userspace. Therefore I didn't sort these IDs after removal.

---
 include/uapi/linux/input.h | 3 ---
 1 file changed, 3 deletions(-)
include/uapi/linux/input.h +0 -3
index 1874ebe9ac1e..39d535034169 100644
@@ -940,7 +940,6 @@ struct input_keymap_entry {
 #define ID_VERSION		3
 
 #define BUS_PCI			0x01
-#define BUS_ISAPNP		0x02
 #define BUS_USB			0x03
 #define BUS_HIL			0x04
 #define BUS_BLUETOOTH		0x05
@@ -956,8 +955,6 @@ struct input_keymap_entry {
 #define BUS_ADB			0x17
 #define BUS_I2C			0x18
 #define BUS_HOST		0x19
-#define BUS_GSC			0x1A
-#define BUS_ATARI		0x1B
 #define BUS_SPI			0x1C
 
 /*
Signature · 1 line
2.1.3
#1 lore raw

Hi Jarkko,

Quoted 11 lines

There are a few BUS IDs that are not used anywhere in kernel tree:

- BUS_ISAPNP
Has no changes or use in kernel git history
- BUS_GSC
Was added by commit 6ab0f5cd3644 ("[PARISC] Update parisc specific input code from parisc tree") but never used
- BUS_ATARI
Became unused after commit 6615c5b25e0b ("m68k: Atari input drivers cleanup")

Quoted 4 lines

---
I'm not familiar with the input and don't know is there use for these in userspace. Therefore I didn't sort these IDs after removal.

actually /dev/uinput can still use these values if it wants to.

Regards

Marcel