aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:36 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:36 -0400
commit3ee38302ffc63da93eb0313053a990bb3466e275 (patch)
treeb8d66e808fd6d55972adc29ce072deaf2483af6c /include/linux/ide.h
parent313afea7f25cc6d420179e0b316499c164e3e372 (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 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index aece06a4930f..c2cdf7750185 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -427,7 +427,6 @@ struct ide_disk_ops {
427 int); 427 int);
428 ide_startstop_t (*do_request)(struct ide_drive_s *, struct request *, 428 ide_startstop_t (*do_request)(struct ide_drive_s *, struct request *,
429 sector_t); 429 sector_t);
430 int (*end_request)(struct ide_drive_s *, int, int);
431 int (*ioctl)(struct ide_drive_s *, struct block_device *, 430 int (*ioctl)(struct ide_drive_s *, struct block_device *,
432 fmode_t, unsigned int, unsigned long); 431 fmode_t, unsigned int, unsigned long);
433}; 432};
@@ -1098,7 +1097,6 @@ void ide_check_pm_state(ide_drive_t *, struct request *);
1098struct ide_driver { 1097struct ide_driver {
1099 const char *version; 1098 const char *version;
1100 ide_startstop_t (*do_request)(ide_drive_t *, struct request *, sector_t); 1099 ide_startstop_t (*do_request)(ide_drive_t *, struct request *, sector_t);
1101 int (*end_request)(ide_drive_t *, int, int);
1102 struct device_driver gen_driver; 1100 struct device_driver gen_driver;
1103 int (*probe)(ide_drive_t *); 1101 int (*probe)(ide_drive_t *);
1104 void (*remove)(ide_drive_t *); 1102 void (*remove)(ide_drive_t *);