Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
ae78191f
Commit
ae78191f
authored
Feb 04, 2004
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Feb 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove unused ide_devices_t from ide.c and ide.h
Introduced in kernel 2.5.35 and never used.
parent
61310117
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
drivers/ide/ide.c
drivers/ide/ide.c
+0
-12
include/linux/ide.h
include/linux/ide.h
+0
-14
No files found.
drivers/ide/ide.c
View file @
ae78191f
...
@@ -197,18 +197,6 @@ ide_hwif_t ide_hwifs[MAX_HWIFS]; /* master data repository */
...
@@ -197,18 +197,6 @@ ide_hwif_t ide_hwifs[MAX_HWIFS]; /* master data repository */
EXPORT_SYMBOL
(
ide_hwifs
);
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
;
extern
ide_driver_t
idedefault_driver
;
static
void
setup_driver_defaults
(
ide_driver_t
*
driver
);
static
void
setup_driver_defaults
(
ide_driver_t
*
driver
);
...
...
include/linux/ide.h
View file @
ae78191f
...
@@ -1214,13 +1214,6 @@ typedef struct ide_driver_s {
...
@@ -1214,13 +1214,6 @@ typedef struct ide_driver_s {
extern
int
generic_ide_ioctl
(
struct
block_device
*
,
unsigned
,
unsigned
long
);
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
* ide_hwifs[] is the master data structure used to keep track
* of just about everything in ide.c. Whenever possible, routines
* of just about everything in ide.c. Whenever possible, routines
...
@@ -1231,13 +1224,6 @@ typedef struct ide_devices_s {
...
@@ -1231,13 +1224,6 @@ typedef struct ide_devices_s {
*/
*/
#ifndef _IDE_C
#ifndef _IDE_C
extern
ide_hwif_t
ide_hwifs
[];
/* master data repository */
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
#endif
extern
int
noautodma
;
extern
int
noautodma
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment