Skip to contentSkip to conversation

kill <asm/hdreg.h>

PATCH New Christoph Hellwig 1 participant 1 message Mar 29, 2005

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

PATCH 1/1 kill <asm/hdreg.h>

I just found a patch in the SuSE tree that changes ide_ioreg_t for ia64, and checking for the implications I noticed ide_ioreg_t and hdreg.h have been completely unused for a while, and the headers have a #warning.

So let's kill them for good:

include/asm-alpha/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-arm/hdreg.h 1.4 vs edited =====

include/asm-arm/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-arm26/hdreg.h 1.3 vs edited =====

include/asm-arm26/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-generic/hdreg.h 1.2 vs edited =====

include/asm-generic/hdreg.h +0 -8
@@ -1,8 +0,0 @@
-#warning <asm/hdreg.h> is obsolete, please do not use it
-
-#ifndef __ASM_GENERIC_HDREG_H
-#define __ASM_GENERIC_HDREG_H
-
-typedef unsigned long ide_ioreg_t;
-
-#endif /* __ASM_GENERIC_HDREG_H */

===== include/asm-h8300/hdreg.h 1.2 vs edited =====

include/asm-h8300/hdreg.h +0 -15
@@ -1,15 +0,0 @@
-/*
- *  linux/include/asm-h8300/hdreg.h
- *
- *  Copyright (C) 1994-1996  Linus Torvalds & authors
- */
-
-#warning this file is obsolete, please do not use it
-
-#ifndef _H8300_HDREG_H
-#define _H8300_HDREG_H
-
-typedef unsigned int   q40ide_ioreg_t;
-typedef unsigned char * ide_ioreg_t;
-
-#endif /* _H8300_HDREG_H */

===== include/asm-i386/hdreg.h 1.4 vs edited =====

include/asm-i386/hdreg.h +0 -1
@@ -1 +0,0 @@
-#warning this file is obsolete, please do not use it

===== include/asm-ia64/hdreg.h 1.2 vs edited =====

include/asm-ia64/hdreg.h +0 -14
@@ -1,14 +0,0 @@
-/*
- *  linux/include/asm-ia64/hdreg.h
- *
- *  Copyright (C) 1994-1996  Linus Torvalds & authors
- */
-
-#warning this file is obsolete, please do not use it
-
-#ifndef __ASM_IA64_HDREG_H
-#define __ASM_IA64_HDREG_H
-
-typedef unsigned short ide_ioreg_t;
-
-#endif /* __ASM_IA64_HDREG_H */

===== include/asm-m32r/hdreg.h 1.1 vs edited =====

include/asm-m32r/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-m68k/hdreg.h 1.3 vs edited =====

include/asm-m68k/hdreg.h +0 -1
@@ -1 +0,0 @@
-#warning this file is obsolete, please do not use it

===== include/asm-m68knommu/hdreg.h 1.1 vs edited =====

include/asm-m68knommu/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-m68k/hdreg.h>

===== include/asm-mips/hdreg.h 1.5 vs edited =====

include/asm-mips/hdreg.h +0 -1
@@ -1 +0,0 @@
-#warning this file is obsolete, please do not use it

===== include/asm-parisc/hdreg.h 1.3 vs edited =====

include/asm-parisc/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-ppc/hdreg.h 1.5 vs edited =====

include/asm-ppc/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-ppc64/hdreg.h 1.2 vs edited =====

include/asm-ppc64/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-sh/hdreg.h 1.3 vs edited =====

include/asm-sh/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-sh64/hdreg.h 1.1 vs edited =====

include/asm-sh64/hdreg.h +0 -6
@@ -1,6 +0,0 @@
-#ifndef __ASM_SH64_HDREG_H
-#define __ASM_SH64_HDREG_H
-
-#include <asm-generic/hdreg.h>
-
-#endif /* __ASM_SH64_HDREG_H */

===== include/asm-sparc/hdreg.h 1.2 vs edited =====

include/asm-sparc/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-sparc64/hdreg.h 1.2 vs edited =====

include/asm-sparc64/hdreg.h +0 -1
@@ -1 +0,0 @@
-#include <asm-generic/hdreg.h>

===== include/asm-um/hdreg.h 1.1 vs edited =====

include/asm-um/hdreg.h +0 -6
@@ -1,6 +0,0 @@
-#ifndef __UM_HDREG_H
-#define __UM_HDREG_H
-
-#include "asm/arch/hdreg.h"
-
-#endif

===== include/asm-x86_64/hdreg.h 1.4 vs edited =====

include/asm-x86_64/hdreg.h +0 -1
@@ -1 +0,0 @@
-#warning this file is obsolete, please do not use it