projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6c5bc
)
pdc202xx_old: remove surplus initialiser
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Sat, 2 Feb 2008 18:56:38 +0000
(19:56 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:38 +0000
(19:56 +0100)
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>
drivers/ide/pci/pdc202xx_old.c
patch
|
blob
|
history
diff --git
a/drivers/ide/pci/pdc202xx_old.c
b/drivers/ide/pci/pdc202xx_old.c
index 9ee72c99d080d1d5a921ea0646fcd0505c820821..da4329790387c6019ceaf7b24d7394840b25fb1d 100644
(file)
--- 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);