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
02726efb
Commit
02726efb
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/dmx3191d.c
parent
8917131f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
drivers/scsi/dmx3191d.c
drivers/scsi/dmx3191d.c
+1
-5
No files found.
drivers/scsi/dmx3191d.c
View file @
02726efb
...
@@ -58,11 +58,6 @@ static int __init dmx3191d_detect(Scsi_Host_Template *tmpl) {
...
@@ -58,11 +58,6 @@ static int __init dmx3191d_detect(Scsi_Host_Template *tmpl) {
struct
Scsi_Host
*
instance
=
NULL
;
struct
Scsi_Host
*
instance
=
NULL
;
struct
pci_dev
*
pdev
=
NULL
;
struct
pci_dev
*
pdev
=
NULL
;
if
(
!
pci_present
())
{
printk
(
KERN_WARNING
"dmx3191: PCI support not enabled
\n
"
);
return
0
;
}
tmpl
->
proc_name
=
DMX3191D_DRIVER_NAME
;
tmpl
->
proc_name
=
DMX3191D_DRIVER_NAME
;
while
((
pdev
=
pci_find_device
(
PCI_VENDOR_ID_DOMEX
,
while
((
pdev
=
pci_find_device
(
PCI_VENDOR_ID_DOMEX
,
...
@@ -139,3 +134,4 @@ static Scsi_Host_Template driver_template = {
...
@@ -139,3 +134,4 @@ static Scsi_Host_Template driver_template = {
.
use_clustering
=
DISABLE_CLUSTERING
,
.
use_clustering
=
DISABLE_CLUSTERING
,
};
};
#include "scsi_module.c"
#include "scsi_module.c"
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