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
f727aff5
Commit
f727aff5
authored
Jun 26, 2003
by
Bartlomiej Zolnierkiewicz
Committed by
Jeff Garzik
Jun 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ide: tiny cleanup of ide_init(), it is called only _once_
parent
4e33fe51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
drivers/ide/ide.c
drivers/ide/ide.c
+3
-7
No files found.
drivers/ide/ide.c
View file @
f727aff5
...
@@ -2593,13 +2593,9 @@ struct bus_type ide_bus_type = {
...
@@ -2593,13 +2593,9 @@ struct bus_type ide_bus_type = {
*/
*/
int
__init
ide_init
(
void
)
int
__init
ide_init
(
void
)
{
{
static
char
banner_printed
;
printk
(
KERN_INFO
"Uniform Multi-Platform E-IDE driver "
REVISION
"
\n
"
);
if
(
!
banner_printed
)
{
devfs_mk_dir
(
"ide"
);
printk
(
KERN_INFO
"Uniform Multi-Platform E-IDE driver "
REVISION
"
\n
"
);
system_bus_speed
=
ide_system_bus_speed
();
devfs_mk_dir
(
"ide"
);
system_bus_speed
=
ide_system_bus_speed
();
banner_printed
=
1
;
}
bus_register
(
&
ide_bus_type
);
bus_register
(
&
ide_bus_type
);
...
...
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