Skip to content

Commit

Permalink
pdc202xx_old: remove surplus initialiser
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Bartlomiej Zolnierkiewicz committed Feb 2, 2008
1 parent fc6c5bc commit 1bee4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/pci/pdc202xx_old.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1bee4d1

Please sign in to comment.