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
175f66cf
Commit
175f66cf
authored
Jun 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI: remove pci_present() from drivers/scsi/eata.c
parent
02726efb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
drivers/scsi/eata.c
drivers/scsi/eata.c
+0
-6
No files found.
drivers/scsi/eata.c
View file @
175f66cf
...
...
@@ -959,8 +959,6 @@ static struct pci_dev *get_pci_dev(unsigned long port_base) {
unsigned
int
addr
;
struct
pci_dev
*
dev
=
NULL
;
if
(
!
pci_present
())
return
NULL
;
while
((
dev
=
pci_find_class
(
PCI_CLASS_STORAGE_SCSI
<<
8
,
dev
)))
{
addr
=
pci_resource_start
(
dev
,
0
);
...
...
@@ -983,8 +981,6 @@ static void enable_pci_ports(void) {
struct
pci_dev
*
dev
=
NULL
;
if
(
!
pci_present
())
return
;
while
((
dev
=
pci_find_class
(
PCI_CLASS_STORAGE_SCSI
<<
8
,
dev
)))
{
#if defined(DEBUG_PCI_DETECT)
...
...
@@ -1410,8 +1406,6 @@ static void add_pci_ports(void) {
struct
pci_dev
*
dev
=
NULL
;
if
(
!
pci_present
())
return
;
for
(
k
=
0
;
k
<
MAX_PCI
;
k
++
)
{
if
(
!
(
dev
=
pci_find_class
(
PCI_CLASS_STORAGE_SCSI
<<
8
,
dev
)))
break
;
...
...
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