diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2006-03-25 04:53:57 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-29 17:21:54 -0500 |
commit | 27cdadef6dfe0d0614653919a110fc75ab1650ce (patch) | |
tree | 88c762ec72b2f09ef7aab5acdd8d3888b5c50758 /include/linux/libata.h | |
parent | a1af37344f669d0fefa8c8a9e37eb6a7c086a2c2 (diff) |
[PATCH] libata-dev: Cleanup unused enums/functions
Cleanup the following unused functions:
- ata_pio_poll()
- ata_pio_complete()
- ata_pio_first_block()
- ata_pio_block()
- ata_pio_error()
ap->pio_task_timeout and other enums.
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 70ca99bbc6c7..0eb71c1773a1 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -162,13 +162,8 @@ enum { | |||
162 | ATA_QCFLAG_EH_SCHEDULED = (1 << 5), /* EH scheduled */ | 162 | ATA_QCFLAG_EH_SCHEDULED = (1 << 5), /* EH scheduled */ |
163 | 163 | ||
164 | /* various lengths of time */ | 164 | /* various lengths of time */ |
165 | ATA_TMOUT_PIO = 30 * HZ, | ||
166 | ATA_TMOUT_BOOT = 30 * HZ, /* heuristic */ | 165 | ATA_TMOUT_BOOT = 30 * HZ, /* heuristic */ |
167 | ATA_TMOUT_BOOT_QUICK = 7 * HZ, /* heuristic */ | 166 | ATA_TMOUT_BOOT_QUICK = 7 * HZ, /* heuristic */ |
168 | ATA_TMOUT_DATAOUT = 30 * HZ, | ||
169 | ATA_TMOUT_DATAOUT_QUICK = 5 * HZ, | ||
170 | ATA_TMOUT_CDB = 30 * HZ, | ||
171 | ATA_TMOUT_CDB_QUICK = 5 * HZ, | ||
172 | ATA_TMOUT_INTERNAL = 30 * HZ, | 167 | ATA_TMOUT_INTERNAL = 30 * HZ, |
173 | ATA_TMOUT_INTERNAL_QUICK = 5 * HZ, | 168 | ATA_TMOUT_INTERNAL_QUICK = 5 * HZ, |
174 | 169 | ||
@@ -216,11 +211,8 @@ enum { | |||
216 | enum hsm_task_states { | 211 | enum hsm_task_states { |
217 | HSM_ST_UNKNOWN, /* state unknown */ | 212 | HSM_ST_UNKNOWN, /* state unknown */ |
218 | HSM_ST_IDLE, /* no command on going */ | 213 | HSM_ST_IDLE, /* no command on going */ |
219 | HSM_ST_POLL, /* same as HSM_ST, waits longer */ | ||
220 | HSM_ST_TMOUT, /* timeout */ | ||
221 | HSM_ST, /* (waiting the device to) transfer data */ | 214 | HSM_ST, /* (waiting the device to) transfer data */ |
222 | HSM_ST_LAST, /* (waiting the device to) complete command */ | 215 | HSM_ST_LAST, /* (waiting the device to) complete command */ |
223 | HSM_ST_LAST_POLL, /* same as HSM_ST_LAST, waits longer */ | ||
224 | HSM_ST_ERR, /* error */ | 216 | HSM_ST_ERR, /* error */ |
225 | HSM_ST_FIRST, /* (waiting the device to) | 217 | HSM_ST_FIRST, /* (waiting the device to) |
226 | write CDB or first data block */ | 218 | write CDB or first data block */ |
@@ -409,7 +401,6 @@ struct ata_port { | |||
409 | struct work_struct port_task; | 401 | struct work_struct port_task; |
410 | 402 | ||
411 | unsigned int hsm_task_state; | 403 | unsigned int hsm_task_state; |
412 | unsigned long pio_task_timeout; | ||
413 | 404 | ||
414 | u32 msg_enable; | 405 | u32 msg_enable; |
415 | struct list_head eh_done_q; | 406 | struct list_head eh_done_q; |