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
d218818f
Commit
d218818f
authored
Dec 03, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Dec 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] scsi cleanup
switched to devfs_remove(), killed gratitious devfs_handle_t variable.
parent
d9841db4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/scsi/scsi.c
drivers/scsi/scsi.c
+2
-4
No files found.
drivers/scsi/scsi.c
View file @
d218818f
...
...
@@ -814,8 +814,6 @@ int scsi_dispatch_cmd(Scsi_Cmnd * SCpnt)
return
rtn
;
}
devfs_handle_t
scsi_devfs_handle
;
/*
* scsi_do_cmd sends all the commands out to the low-level driver. It
* handles the specifics required for each low level driver - ie queued
...
...
@@ -2160,7 +2158,7 @@ static int __init init_scsi(void)
}
scsi_init_procfs
();
scsi_devfs_handle
=
devfs_mk_dir
(
NULL
,
"scsi"
,
NULL
);
devfs_mk_dir
(
NULL
,
"scsi"
,
NULL
);
scsi_host_init
();
scsi_dev_info_list_init
(
scsi_dev_flags
);
scsi_sysfs_register
();
...
...
@@ -2174,7 +2172,7 @@ static void __exit exit_scsi(void)
scsi_sysfs_unregister
();
scsi_dev_info_list_delete
();
devfs_
unregister
(
scsi_devfs_handle
);
devfs_
remove
(
"scsi"
);
scsi_exit_procfs
();
for
(
i
=
0
;
i
<
SG_MEMPOOL_NR
;
i
++
)
{
...
...
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