Commit ae78191f authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] remove unused ide_devices_t from ide.c and ide.h

Introduced in kernel 2.5.35 and never used.
parent 61310117
......@@ -197,18 +197,6 @@ ide_hwif_t ide_hwifs[MAX_HWIFS]; /* master data repository */
EXPORT_SYMBOL(ide_hwifs);
ide_devices_t *idedisk;
ide_devices_t *idecd;
ide_devices_t *idefloppy;
ide_devices_t *idetape;
ide_devices_t *idescsi;
EXPORT_SYMBOL(idedisk);
EXPORT_SYMBOL(idecd);
EXPORT_SYMBOL(idefloppy);
EXPORT_SYMBOL(idetape);
EXPORT_SYMBOL(idescsi);
extern ide_driver_t idedefault_driver;
static void setup_driver_defaults(ide_driver_t *driver);
......
......@@ -1214,13 +1214,6 @@ typedef struct ide_driver_s {
extern int generic_ide_ioctl(struct block_device *, unsigned, unsigned long);
typedef struct ide_devices_s {
char name[4]; /* hdX */
unsigned attached : 1; /* native */
unsigned alttached : 1; /* alternate */
struct ide_devices_s *next;
} ide_devices_t;
/*
* ide_hwifs[] is the master data structure used to keep track
* of just about everything in ide.c. Whenever possible, routines
......@@ -1231,13 +1224,6 @@ typedef struct ide_devices_s {
*/
#ifndef _IDE_C
extern ide_hwif_t ide_hwifs[]; /* master data repository */
extern ide_devices_t *idedisk;
extern ide_devices_t *idecd;
extern ide_devices_t *idefloppy;
extern ide_devices_t *idetape;
extern ide_devices_t *idescsi;
#endif
extern int noautodma;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment