diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:36 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:36 -0400 |
commit | 3ee38302ffc63da93eb0313053a990bb3466e275 (patch) | |
tree | b8d66e808fd6d55972adc29ce072deaf2483af6c /drivers/ide/ide-gd.c | |
parent | 313afea7f25cc6d420179e0b316499c164e3e372 (diff) |
ide: remove ->end_request method
* Handle completion of private driver requests explicitly
for ide_floppy and ide_tape media in ide_kill_rq().
* Remove no longer needed ->end_request method.
There should be no functional changes caused by this patch.
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-gd.c')
-rw-r--r-- | drivers/ide/ide-gd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ide/ide-gd.c b/drivers/ide/ide-gd.c index c51a35093ae2..1aebdf1a4f58 100644 --- a/drivers/ide/ide-gd.c +++ b/drivers/ide/ide-gd.c | |||
@@ -145,11 +145,6 @@ static ide_startstop_t ide_gd_do_request(ide_drive_t *drive, | |||
145 | return drive->disk_ops->do_request(drive, rq, sector); | 145 | return drive->disk_ops->do_request(drive, rq, sector); |
146 | } | 146 | } |
147 | 147 | ||
148 | static int ide_gd_end_request(ide_drive_t *drive, int uptodate, int nrsecs) | ||
149 | { | ||
150 | return drive->disk_ops->end_request(drive, uptodate, nrsecs); | ||
151 | } | ||
152 | |||
153 | static struct ide_driver ide_gd_driver = { | 148 | static struct ide_driver ide_gd_driver = { |
154 | .gen_driver = { | 149 | .gen_driver = { |
155 | .owner = THIS_MODULE, | 150 | .owner = THIS_MODULE, |
@@ -162,7 +157,6 @@ static struct ide_driver ide_gd_driver = { | |||
162 | .shutdown = ide_gd_shutdown, | 157 | .shutdown = ide_gd_shutdown, |
163 | .version = IDE_GD_VERSION, | 158 | .version = IDE_GD_VERSION, |
164 | .do_request = ide_gd_do_request, | 159 | .do_request = ide_gd_do_request, |
165 | .end_request = ide_gd_end_request, | ||
166 | #ifdef CONFIG_IDE_PROC_FS | 160 | #ifdef CONFIG_IDE_PROC_FS |
167 | .proc_entries = ide_disk_proc_entries, | 161 | .proc_entries = ide_disk_proc_entries, |
168 | .proc_devsets = ide_disk_proc_devsets, | 162 | .proc_devsets = ide_disk_proc_devsets, |