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
af5821d5
Commit
af5821d5
authored
Apr 26, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] remove unused struct ata_engine
parent
23508b81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+0
-3
include/linux/libata.h
include/linux/libata.h
+0
-10
No files found.
drivers/scsi/libata-core.c
View file @
af5821d5
...
@@ -2917,9 +2917,6 @@ static void ata_host_init(struct ata_port *ap, struct Scsi_Host *host,
...
@@ -2917,9 +2917,6 @@ static void ata_host_init(struct ata_port *ap, struct Scsi_Host *host,
ap
->
active_tag
=
ATA_TAG_POISON
;
ap
->
active_tag
=
ATA_TAG_POISON
;
ap
->
last_ctl
=
0xFF
;
ap
->
last_ctl
=
0xFF
;
/* ata_engine init */
ap
->
eng
.
flags
=
0
;
INIT_LIST_HEAD
(
&
ap
->
eng
.
q
);
INIT_WORK
(
&
ap
->
packet_task
,
atapi_packet_task
,
ap
);
INIT_WORK
(
&
ap
->
packet_task
,
atapi_packet_task
,
ap
);
INIT_WORK
(
&
ap
->
pio_task
,
ata_pio_task
,
ap
);
INIT_WORK
(
&
ap
->
pio_task
,
ata_pio_task
,
ap
);
INIT_WORK
(
&
ap
->
probe_task
,
ata_probe_task
,
ap
);
INIT_WORK
(
&
ap
->
probe_task
,
ata_probe_task
,
ap
);
...
...
include/linux/libata.h
View file @
af5821d5
...
@@ -114,9 +114,6 @@ enum {
...
@@ -114,9 +114,6 @@ enum {
ATA_QCFLAG_SG
=
(
1
<<
4
),
/* have s/g table? */
ATA_QCFLAG_SG
=
(
1
<<
4
),
/* have s/g table? */
ATA_QCFLAG_POLL
=
(
1
<<
5
),
/* polling, no interrupts */
ATA_QCFLAG_POLL
=
(
1
<<
5
),
/* polling, no interrupts */
/* struct ata_engine atomic flags (use test_bit, etc.) */
ATA_EFLG_ACTIVE
=
0
,
/* engine is active */
/* various lengths of time */
/* various lengths of time */
ATA_TMOUT_EDD
=
5
*
HZ
,
/* hueristic */
ATA_TMOUT_EDD
=
5
*
HZ
,
/* hueristic */
ATA_TMOUT_PIO
=
30
*
HZ
,
ATA_TMOUT_PIO
=
30
*
HZ
,
...
@@ -275,11 +272,6 @@ struct ata_device {
...
@@ -275,11 +272,6 @@ struct ata_device {
u8
write_cmd
;
/* opcode to use on write */
u8
write_cmd
;
/* opcode to use on write */
};
};
struct
ata_engine
{
unsigned
long
flags
;
struct
list_head
q
;
};
struct
ata_port
{
struct
ata_port
{
struct
Scsi_Host
*
host
;
/* our co-allocated scsi host */
struct
Scsi_Host
*
host
;
/* our co-allocated scsi host */
struct
ata_port_operations
*
ops
;
struct
ata_port_operations
*
ops
;
...
@@ -300,8 +292,6 @@ struct ata_port {
...
@@ -300,8 +292,6 @@ struct ata_port {
unsigned
int
udma_mask
;
unsigned
int
udma_mask
;
unsigned
int
cbl
;
/* cable type; ATA_CBL_xxx */
unsigned
int
cbl
;
/* cable type; ATA_CBL_xxx */
struct
ata_engine
eng
;
struct
ata_device
device
[
ATA_MAX_DEVICES
];
struct
ata_device
device
[
ATA_MAX_DEVICES
];
struct
ata_queued_cmd
qcmd
[
ATA_MAX_QUEUE
];
struct
ata_queued_cmd
qcmd
[
ATA_MAX_QUEUE
];
...
...
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