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
07152268
Commit
07152268
authored
Oct 21, 2002
by
James Bottomley
Committed by
Christoph Hellwig
Oct 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI] remove duplicate device registration
From Mike Anderson and Patrick Mansfield
parent
ff788a74
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
drivers/scsi/hosts.h
drivers/scsi/hosts.h
+0
-3
No files found.
drivers/scsi/hosts.h
View file @
07152268
...
@@ -551,9 +551,6 @@ static inline void scsi_set_pci_device(struct Scsi_Host *shost,
...
@@ -551,9 +551,6 @@ static inline void scsi_set_pci_device(struct Scsi_Host *shost,
{
{
shost
->
pci_dev
=
pdev
;
shost
->
pci_dev
=
pdev
;
shost
->
host_driverfs_dev
.
parent
=&
pdev
->
dev
;
shost
->
host_driverfs_dev
.
parent
=&
pdev
->
dev
;
/* register parent with driverfs */
device_register
(
&
shost
->
host_driverfs_dev
);
}
}
...
...
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