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
6c50cdfb
Commit
6c50cdfb
authored
Jun 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI: remove pci_present() from drivers/net/wan/sdladrv.c
parent
e0ea3233
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
drivers/net/wan/sdladrv.c
drivers/net/wan/sdladrv.c
+1
-7
No files found.
drivers/net/wan/sdladrv.c
View file @
6c50cdfb
...
@@ -1905,13 +1905,7 @@ static int detect_s514 (sdlahw_t* hw)
...
@@ -1905,13 +1905,7 @@ static int detect_s514 (sdlahw_t* hw)
struct
pci_dev
*
pci_dev
;
struct
pci_dev
*
pci_dev
;
#ifdef CONFIG_PCI
#ifndef CONFIG_PCI
if
(
!
pci_present
())
{
printk
(
KERN_INFO
"%s: PCI BIOS not present!
\n
"
,
modname
);
return
0
;
}
#else
printk
(
KERN_INFO
"%s: Linux not compiled for PCI usage!
\n
"
,
modname
);
printk
(
KERN_INFO
"%s: Linux not compiled for PCI usage!
\n
"
,
modname
);
return
0
;
return
0
;
#endif
#endif
...
...
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