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
41986392
Commit
41986392
authored
Jun 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI: remove pci_present() from drivers/telephony/ixj.c
parent
4850a7ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
drivers/telephony/ixj.c
drivers/telephony/ixj.c
+2
-7
No files found.
drivers/telephony/ixj.c
View file @
41986392
...
@@ -7821,9 +7821,6 @@ int __init ixj_probe_pci(int *cnt)
...
@@ -7821,9 +7821,6 @@ int __init ixj_probe_pci(int *cnt)
IXJ
*
j
=
NULL
;
IXJ
*
j
=
NULL
;
int
result
;
int
result
;
if
(
!
pci_present
())
return
0
;
for
(
i
=
0
;
i
<
IXJMAX
-
*
cnt
;
i
++
)
{
for
(
i
=
0
;
i
<
IXJMAX
-
*
cnt
;
i
++
)
{
pci
=
pci_find_device
(
0x15E2
,
0x0500
,
pci
);
pci
=
pci_find_device
(
0x15E2
,
0x0500
,
pci
);
if
(
!
pci
)
if
(
!
pci
)
...
@@ -7869,10 +7866,8 @@ int __init ixj_init(void)
...
@@ -7869,10 +7866,8 @@ int __init ixj_init(void)
if
((
probe
=
ixj_probe_isa
(
&
cnt
))
<
0
)
{
if
((
probe
=
ixj_probe_isa
(
&
cnt
))
<
0
)
{
return
probe
;
return
probe
;
}
}
if
(
pci_present
())
{
if
((
probe
=
ixj_probe_pci
(
&
cnt
))
<
0
)
{
if
((
probe
=
ixj_probe_pci
(
&
cnt
))
<
0
)
{
return
probe
;
return
probe
;
}
}
}
printk
(
"%s
\n
"
,
ixj_c_rcsid
);
printk
(
"%s
\n
"
,
ixj_c_rcsid
);
create_proc_read_entry
(
"ixj"
,
0
,
NULL
,
ixj_read_proc
,
NULL
);
create_proc_read_entry
(
"ixj"
,
0
,
NULL
,
ixj_read_proc
,
NULL
);
...
...
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