Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bee4d1d authored by Alan Cox's avatar Alan Cox Committed by Bartlomiej Zolnierkiewicz
Browse files

pdc202xx_old: remove surplus initialiser



Bart:
- drive-by CodingStyle fixups

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent fc6c5bc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)
static u8 __devinit pdc2026x_old_cable_detect(ide_hwif_t *hwif)
{
{
	struct pci_dev *dev = to_pci_dev(hwif->dev);
	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);
	pci_read_config_word(dev, 0x50, &CIS);