diff options
author | Tejun Heo <htejun@gmail.com> | 2006-08-10 03:59:18 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-08-10 03:59:18 -0400 |
commit | 4852ba24f647199be797545226c6d325db231937 (patch) | |
tree | 5c732e919c04f2854622a02f618d4cbcf51a3687 /include | |
parent | 2a88d1ac8dca898a7fb602ddd581bf4d2977509d (diff) |
[PATCH] libata: kill unused hard_port_no and legacy_mode
Kill unused probe_ent/ap->hard_port_no and probe_ent->legacy_mode.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 30bfe8f1666e..ed749f778697 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -352,12 +352,10 @@ struct ata_probe_ent { | |||
352 | struct scsi_host_template *sht; | 352 | struct scsi_host_template *sht; |
353 | struct ata_ioports port[ATA_MAX_PORTS]; | 353 | struct ata_ioports port[ATA_MAX_PORTS]; |
354 | unsigned int n_ports; | 354 | unsigned int n_ports; |
355 | unsigned int hard_port_no; | ||
356 | unsigned int dummy_port_mask; | 355 | unsigned int dummy_port_mask; |
357 | unsigned int pio_mask; | 356 | unsigned int pio_mask; |
358 | unsigned int mwdma_mask; | 357 | unsigned int mwdma_mask; |
359 | unsigned int udma_mask; | 358 | unsigned int udma_mask; |
360 | unsigned int legacy_mode; | ||
361 | unsigned long irq; | 359 | unsigned long irq; |
362 | unsigned long irq2; | 360 | unsigned long irq2; |
363 | unsigned int irq_flags; | 361 | unsigned int irq_flags; |
@@ -509,7 +507,6 @@ struct ata_port { | |||
509 | unsigned int pflags; /* ATA_PFLAG_xxx */ | 507 | unsigned int pflags; /* ATA_PFLAG_xxx */ |
510 | unsigned int id; /* unique id req'd by scsi midlyr */ | 508 | unsigned int id; /* unique id req'd by scsi midlyr */ |
511 | unsigned int port_no; /* unique port #; from zero */ | 509 | unsigned int port_no; /* unique port #; from zero */ |
512 | unsigned int hard_port_no; /* hardware port #; from zero */ | ||
513 | 510 | ||
514 | struct ata_prd *prd; /* our SG list */ | 511 | struct ata_prd *prd; /* our SG list */ |
515 | dma_addr_t prd_dma; /* and its DMA mapping */ | 512 | dma_addr_t prd_dma; /* and its DMA mapping */ |