Skip to contentSkip to conversation

misc: Mark MICROCODE_MINOR unused

PATCH In review Borislav Petkov 2 participants 2 messages Jul 27, 2022 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 misc: Mark MICROCODE_MINOR unused

From: Borislav Petkov <[email protected]>

This one is unused since

181b6f40e9ea ("x86/microcode: Rip out the OLD_INTERFACE")

so comment it out.

---
 include/linux/miscdevice.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/miscdevice.h +1 -1
index 0676f18093f9..99291eff32dc 100644
@@ -44,7 +44,7 @@
 #define AGPGART_MINOR		175
 #define TOSH_MINOR_DEV		181
 #define HWRNG_MINOR		183
-#define MICROCODE_MINOR		184
+/*#define MICROCODE_MINOR		184 unused */
 #define KEYPAD_MINOR		185
 #define IRNET_MINOR		187
 #define D7S_MINOR		193
Signature · 1 line
2.35.1
#1 lore raw
Quoted 32 lines · Borislav Petkov

From: Borislav Petkov <[email protected]>

This one is unused since

181b6f40e9ea ("x86/microcode: Rip out the OLD_INTERFACE")

so comment it out.

---
 include/linux/miscdevice.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/miscdevice.h +1 -1
index 0676f18093f9..99291eff32dc 100644
@@ -44,7 +44,7 @@
 #define AGPGART_MINOR		175
 #define TOSH_MINOR_DEV		181
 #define HWRNG_MINOR		183
-#define MICROCODE_MINOR		184
+/*#define MICROCODE_MINOR		184 unused */
 #define KEYPAD_MINOR		185
 #define IRNET_MINOR		187
 #define D7S_MINOR		193
Signature · 1 line
2.35.1

Thanks, will go queue this up!

greg k-h