diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:44 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:44 -0400 |
commit | 1866082339597930c5b77aad8de34ab4fbb5724f (patch) | |
tree | 364832322ceae98f41233fd095558b1700cf3634 /include | |
parent | 65ca5377322c7543163066f373ae9e6b0ad8de8a (diff) |
ide: remove ide_do_drive_cmd()
* Use elv_add_request() instead of __elv_add_request() in ide_do_drive_cmd().
* ide_do_drive_cmd() is used only in ide-{atapi,cd}.c so inline it there.
There should be no functional changes caused by this patch.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index d0065a90452b..8fadffe53cde 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1174,8 +1174,6 @@ extern ide_startstop_t ide_do_reset (ide_drive_t *); | |||
1174 | extern int ide_devset_execute(ide_drive_t *drive, | 1174 | extern int ide_devset_execute(ide_drive_t *drive, |
1175 | const struct ide_devset *setting, int arg); | 1175 | const struct ide_devset *setting, int arg); |
1176 | 1176 | ||
1177 | extern void ide_do_drive_cmd(ide_drive_t *, struct request *); | ||
1178 | |||
1179 | extern void ide_end_drive_cmd(ide_drive_t *, u8, u8); | 1177 | extern void ide_end_drive_cmd(ide_drive_t *, u8, u8); |
1180 | 1178 | ||
1181 | void ide_tf_dump(const char *, struct ide_taskfile *); | 1179 | void ide_tf_dump(const char *, struct ide_taskfile *); |