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
9c5825ca
Commit
9c5825ca
authored
Jun 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI: remove pci_present() from sound/oss/skeleton.c
parent
39fa5a35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
sound/oss/skeleton.c
sound/oss/skeleton.c
+0
-4
No files found.
sound/oss/skeleton.c
View file @
9c5825ca
...
@@ -159,10 +159,6 @@ int init_mycard(void)
...
@@ -159,10 +159,6 @@ int init_mycard(void)
struct
pci_dev
*
pcidev
=
NULL
;
struct
pci_dev
*
pcidev
=
NULL
;
int
count
=
0
;
int
count
=
0
;
if
(
!
pci_present
())
return
-
ENODEV
;
while
((
pcidev
=
pci_find_device
(
PCI_VENDOR_MYIDENT
,
PCI_DEVICE_ID_MYIDENT_MYCARD1
,
pcidev
))
!=
NULL
)
while
((
pcidev
=
pci_find_device
(
PCI_VENDOR_MYIDENT
,
PCI_DEVICE_ID_MYIDENT_MYCARD1
,
pcidev
))
!=
NULL
)
{
{
if
(
pci_enable_device
(
pcidev
))
if
(
pci_enable_device
(
pcidev
))
...
...
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