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
Kirill Smelkov
linux
Commits
05742d9d
Commit
05742d9d
authored
Jun 03, 2003
by
Bartlomiej Zolnierkiewicz
Committed by
James Bottomley
Jun 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] kill recreate_proc_ide_device()
It is unused and not needed
parent
a25e0bcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
+0
-29
drivers/ide/ide-proc.c
drivers/ide/ide-proc.c
+0
-28
include/linux/ide.h
include/linux/ide.h
+0
-1
No files found.
drivers/ide/ide-proc.c
View file @
05742d9d
...
@@ -729,34 +729,6 @@ void create_proc_ide_drives(ide_hwif_t *hwif)
...
@@ -729,34 +729,6 @@ void create_proc_ide_drives(ide_hwif_t *hwif)
EXPORT_SYMBOL
(
create_proc_ide_drives
);
EXPORT_SYMBOL
(
create_proc_ide_drives
);
void
recreate_proc_ide_device
(
ide_hwif_t
*
hwif
,
ide_drive_t
*
drive
)
{
struct
proc_dir_entry
*
ent
;
struct
proc_dir_entry
*
parent
=
hwif
->
proc
;
char
name
[
64
];
if
(
drive
->
present
&&
!
drive
->
proc
)
{
drive
->
proc
=
proc_mkdir
(
drive
->
name
,
parent
);
if
(
drive
->
proc
)
ide_add_proc_entries
(
drive
->
proc
,
generic_drive_entries
,
drive
);
/*
* assume that we have these already, however, should test FIXME!
* if (driver) {
* ide_add_proc_entries(drive->proc, generic_subdriver_entries, drive);
* ide_add_proc_entries(drive->proc, driver->proc, drive);
* }
*
*/
sprintf
(
name
,
"ide%d/%s"
,
(
drive
->
name
[
2
]
-
'a'
)
/
2
,
drive
->
name
);
ent
=
proc_symlink
(
drive
->
name
,
proc_ide_root
,
name
);
if
(
!
ent
)
return
;
}
}
EXPORT_SYMBOL
(
recreate_proc_ide_device
);
void
destroy_proc_ide_device
(
ide_hwif_t
*
hwif
,
ide_drive_t
*
drive
)
void
destroy_proc_ide_device
(
ide_hwif_t
*
hwif
,
ide_drive_t
*
drive
)
{
{
ide_driver_t
*
driver
=
drive
->
driver
;
ide_driver_t
*
driver
=
drive
->
driver
;
...
...
include/linux/ide.h
View file @
05742d9d
...
@@ -1115,7 +1115,6 @@ typedef struct {
...
@@ -1115,7 +1115,6 @@ typedef struct {
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_PROC_FS
extern
void
proc_ide_create
(
void
);
extern
void
proc_ide_create
(
void
);
extern
void
proc_ide_destroy
(
void
);
extern
void
proc_ide_destroy
(
void
);
extern
void
recreate_proc_ide_device
(
ide_hwif_t
*
,
ide_drive_t
*
);
extern
void
destroy_proc_ide_device
(
ide_hwif_t
*
,
ide_drive_t
*
);
extern
void
destroy_proc_ide_device
(
ide_hwif_t
*
,
ide_drive_t
*
);
extern
void
destroy_proc_ide_drives
(
ide_hwif_t
*
);
extern
void
destroy_proc_ide_drives
(
ide_hwif_t
*
);
extern
void
create_proc_ide_interfaces
(
void
);
extern
void
create_proc_ide_interfaces
(
void
);
...
...
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