diff options
| author | Tejun Heo <htejun@gmail.com> | 2006-02-12 05:05:07 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-12 14:06:42 -0500 |
| commit | 48f80e12abbc1e9034e54614c30e7c304209ce99 (patch) | |
| tree | db55f6dac4a20433d7ca1672c8fa15f01844da2a | |
| parent | 06ab78222bd119a0a3d8a1f89997ce902a219703 (diff) | |
[PATCH] ata_piix: kill spurious assignment in piix_sata_probe()
In piix_sata_probe(), mask gets assigned unnecessarily at the
beginning of the function. Kill the assignment.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| -rw-r--r-- | drivers/scsi/ata_piix.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c index 4933ba284885..8e0529601730 100644 --- a/drivers/scsi/ata_piix.c +++ b/drivers/scsi/ata_piix.c | |||
| @@ -415,9 +415,6 @@ static int piix_sata_probe (struct ata_port *ap) | |||
| 415 | int orig_mask, mask, i; | 415 | int orig_mask, mask, i; |
| 416 | u8 pcs; | 416 | u8 pcs; |
| 417 | 417 | ||
| 418 | mask = (PIIX_PORT_PRESENT << ap->hard_port_no) | | ||
| 419 | (PIIX_PORT_ENABLED << ap->hard_port_no); | ||
| 420 | |||
| 421 | pci_read_config_byte(pdev, ICH5_PCS, &pcs); | 418 | pci_read_config_byte(pdev, ICH5_PCS, &pcs); |
| 422 | orig_mask = (int) pcs & 0xff; | 419 | orig_mask = (int) pcs & 0xff; |
| 423 | 420 | ||
