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
ec8a1e9a
Commit
ec8a1e9a
authored
Jun 21, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] fix build error, minor cleanups
parent
3cc46e22
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+2
-3
include/linux/libata.h
include/linux/libata.h
+0
-5
No files found.
drivers/scsi/libata-core.c
View file @
ec8a1e9a
...
...
@@ -2142,6 +2142,7 @@ static void ata_pio_task(void *_data)
static
void
ata_qc_timeout
(
struct
ata_queued_cmd
*
qc
)
{
struct
ata_port
*
ap
=
qc
->
ap
;
u8
host_stat
=
0
,
drv_stat
;
DPRINTK
(
"ENTER
\n
"
);
...
...
@@ -2181,7 +2182,6 @@ static void ata_qc_timeout(struct ata_queued_cmd *qc)
break
;
}
out:
DPRINTK
(
"EXIT
\n
"
);
}
...
...
@@ -2206,7 +2206,6 @@ static void ata_qc_timeout(struct ata_queued_cmd *qc)
void
ata_eng_timeout
(
struct
ata_port
*
ap
)
{
u8
host_stat
=
0
,
drv_stat
;
struct
ata_queued_cmd
*
qc
;
DPRINTK
(
"ENTER
\n
"
);
...
...
@@ -2317,7 +2316,7 @@ void ata_qc_complete(struct ata_queued_cmd *qc, u8 drv_stat)
qc
->
scsidone
(
cmd
);
}
qc
->
flags
&=
~
ATA_QCFLAG_ACTIVE
;
qc
->
flags
=
0
;
tag
=
qc
->
tag
;
if
(
likely
(
ata_tag_valid
(
tag
)))
{
if
(
tag
==
ap
->
active_tag
)
...
...
include/linux/libata.h
View file @
ec8a1e9a
...
...
@@ -137,11 +137,6 @@ enum {
PORT_UNKNOWN
=
0
,
PORT_ENABLED
=
1
,
PORT_DISABLED
=
2
,
/* ata_qc_cb_t flags - note uses above ATA_QCFLAG_xxx namespace,
* but not numberspace
*/
ATA_QCFLAG_TIMEOUT
=
(
1
<<
0
),
};
enum
pio_task_states
{
...
...
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