Skip to contentSkip to conversation

include/linux/hdreg.h: remove unused defines

PATCH In review Bartlomiej Zolnierkiewicz 1 participant 1 message Jul 24, 2008

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

PATCH 4/4 include/linux/hdreg.h: remove unused defines

* Move HD_IRQ define to drivers/block/hd.c (only user).

* Remove unused *_STAT, *_ERR, HD_*, CD, IO, REL and TAG_MASK defines.

---
 drivers/block/hd.c    |    2 +
 include/linux/hdreg.h |   58 --------------------------------------------------
 2 files changed, 2 insertions(+), 58 deletions(-)
drivers/block/hd.c +2 -0
Index: b/drivers/block/hd.c
===================================================================
@@ -42,6 +42,8 @@
 #include <linux/ata.h>
 #include <linux/hdreg.h>
 
+#define HD_IRQ 14
+
 #define REALLY_SLOW_IO
 #include <asm/system.h>
 #include <asm/io.h>
include/linux/hdreg.h +0 -58

64 lines not on this page · raw message