aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-02-02 13:56:38 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:38 -0500
commit1bee4d1dce2d76bcf0bf9565298c62666de0fa1d (patch)
tree3485a6797516e5f3a4f6725c37b7ab06390b7ca9 /drivers/ide
parentfc6c5bc7c158d7ee7bb6e9ac1c64ae80da3d1580 (diff)
pdc202xx_old: remove surplus initialiser
Bart: - drive-by CodingStyle fixups Signed-off-by: Alan Cox <alan@redhat.com> Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/pci/pdc202xx_old.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c
index 9ee72c99d080..da4329790387 100644
--- a/drivers/ide/pci/pdc202xx_old.c
+++ b/drivers/ide/pci/pdc202xx_old.c
@@ -138,7 +138,7 @@ static void pdc202xx_set_pio_mode(ide_drive_t *drive, const u8 pio)
138static u8 __devinit pdc2026x_old_cable_detect(ide_hwif_t *hwif) 138static u8 __devinit pdc2026x_old_cable_detect(ide_hwif_t *hwif)
139{ 139{
140 struct pci_dev *dev = to_pci_dev(hwif->dev); 140 struct pci_dev *dev = to_pci_dev(hwif->dev);
141 u16 CIS = 0, mask = (hwif->channel) ? (1<<11) : (1<<10); 141 u16 CIS, mask = hwif->channel ? (1 << 11) : (1 << 10);
142 142
143 pci_read_config_word(dev, 0x50, &CIS); 143 pci_read_config_word(dev, 0x50, &CIS);
144 144