ide: remove superfluous ->media field from ide_driver_t

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Bartlomiej Zolnierkiewicz 2008-10-13 21:39:37 +02:00
parent c39220483e
commit 0ae4b3199a
6 changed files with 0 additions and 6 deletions

View File

@ -1966,7 +1966,6 @@ static ide_driver_t ide_cdrom_driver = {
.probe = ide_cd_probe, .probe = ide_cd_probe,
.remove = ide_cd_remove, .remove = ide_cd_remove,
.version = IDECD_VERSION, .version = IDECD_VERSION,
.media = ide_cdrom,
.do_request = ide_cd_do_request, .do_request = ide_cd_do_request,
.end_request = ide_end_request, .end_request = ide_end_request,
.error = __ide_error, .error = __ide_error,

View File

@ -938,7 +938,6 @@ static ide_driver_t idedisk_driver = {
.resume = ide_disk_resume, .resume = ide_disk_resume,
.shutdown = ide_device_shutdown, .shutdown = ide_device_shutdown,
.version = IDEDISK_VERSION, .version = IDEDISK_VERSION,
.media = ide_disk,
.do_request = ide_do_rw_disk, .do_request = ide_do_rw_disk,
.end_request = ide_end_request, .end_request = ide_end_request,
.error = __ide_error, .error = __ide_error,

View File

@ -673,7 +673,6 @@ static ide_driver_t idefloppy_driver = {
.probe = ide_floppy_probe, .probe = ide_floppy_probe,
.remove = ide_floppy_remove, .remove = ide_floppy_remove,
.version = IDEFLOPPY_VERSION, .version = IDEFLOPPY_VERSION,
.media = ide_floppy,
.do_request = idefloppy_do_request, .do_request = idefloppy_do_request,
.end_request = idefloppy_end_request, .end_request = idefloppy_end_request,
.error = __ide_error, .error = __ide_error,

View File

@ -2318,7 +2318,6 @@ static ide_driver_t idetape_driver = {
.probe = ide_tape_probe, .probe = ide_tape_probe,
.remove = ide_tape_remove, .remove = ide_tape_remove,
.version = IDETAPE_VERSION, .version = IDETAPE_VERSION,
.media = ide_tape,
.do_request = idetape_do_request, .do_request = idetape_do_request,
.end_request = idetape_end_request, .end_request = idetape_end_request,
.error = __ide_error, .error = __ide_error,

View File

@ -437,7 +437,6 @@ static ide_driver_t idescsi_driver = {
.probe = ide_scsi_probe, .probe = ide_scsi_probe,
.remove = ide_scsi_remove, .remove = ide_scsi_remove,
.version = IDESCSI_VERSION, .version = IDESCSI_VERSION,
.media = ide_scsi,
.do_request = idescsi_do_request, .do_request = idescsi_do_request,
.end_request = idescsi_end_request, .end_request = idescsi_end_request,
.error = idescsi_atapi_error, .error = idescsi_atapi_error,

View File

@ -1029,7 +1029,6 @@ enum {
*/ */
struct ide_driver_s { struct ide_driver_s {
const char *version; const char *version;
u8 media;
ide_startstop_t (*do_request)(ide_drive_t *, struct request *, sector_t); ide_startstop_t (*do_request)(ide_drive_t *, struct request *, sector_t);
int (*end_request)(ide_drive_t *, int, int); int (*end_request)(ide_drive_t *, int, int);
ide_startstop_t (*error)(ide_drive_t *, struct request *rq, u8, u8); ide_startstop_t (*error)(ide_drive_t *, struct request *rq, u8, u8);