From: Alan Cox Date: Sat, 2 Feb 2008 18:56:38 +0000 (+0100) Subject: pdc202xx_old: remove surplus initialiser X-Git-Tag: v2.6.25-rc1~1068^2~61 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bee4d1dce2d76bcf0bf9565298c62666de0fa1d;p=linux-2.6 pdc202xx_old: remove surplus initialiser Bart: - drive-by CodingStyle fixups Signed-off-by: Alan Cox Cc: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 9ee72c99d0..da43297903 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) static u8 __devinit pdc2026x_old_cable_detect(ide_hwif_t *hwif) { struct pci_dev *dev = to_pci_dev(hwif->dev); - u16 CIS = 0, mask = (hwif->channel) ? (1<<11) : (1<<10); + u16 CIS, mask = hwif->channel ? (1 << 11) : (1 << 10); pci_read_config_word(dev, 0x50, &CIS);