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
fe7d979a
Commit
fe7d979a
authored
Feb 04, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Feb 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] scsi/ppa.c cleanup and fixes (9/9)
* don't take the unnecessary ->host_lock around ->scsi_done() call.
parent
c88a756d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
drivers/scsi/ppa.c
drivers/scsi/ppa.c
+0
-4
No files found.
drivers/scsi/ppa.c
View file @
fe7d979a
...
@@ -627,7 +627,6 @@ static void ppa_interrupt(void *data)
...
@@ -627,7 +627,6 @@ static void ppa_interrupt(void *data)
{
{
ppa_struct
*
dev
=
(
ppa_struct
*
)
data
;
ppa_struct
*
dev
=
(
ppa_struct
*
)
data
;
Scsi_Cmnd
*
cmd
=
dev
->
cur_cmd
;
Scsi_Cmnd
*
cmd
=
dev
->
cur_cmd
;
unsigned
long
flags
;
if
(
!
cmd
)
{
if
(
!
cmd
)
{
printk
(
"PPA: bug in ppa_interrupt
\n
"
);
printk
(
"PPA: bug in ppa_interrupt
\n
"
);
...
@@ -680,10 +679,7 @@ static void ppa_interrupt(void *data)
...
@@ -680,10 +679,7 @@ static void ppa_interrupt(void *data)
dev
->
cur_cmd
=
0
;
dev
->
cur_cmd
=
0
;
spin_lock_irqsave
(
cmd
->
device
->
host
->
host_lock
,
flags
);
cmd
->
scsi_done
(
cmd
);
cmd
->
scsi_done
(
cmd
);
spin_unlock_irqrestore
(
cmd
->
device
->
host
->
host_lock
,
flags
);
return
;
}
}
static
int
ppa_engine
(
ppa_struct
*
dev
,
Scsi_Cmnd
*
cmd
)
static
int
ppa_engine
(
ppa_struct
*
dev
,
Scsi_Cmnd
*
cmd
)
...
...
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