Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1bee4d1dce2d76bcf0bf9565298c62666de0fa1d
Commit:     1bee4d1dce2d76bcf0bf9565298c62666de0fa1d
Parent:     fc6c5bc7c158d7ee7bb6e9ac1c64ae80da3d1580
Author:     Alan Cox <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 2 19:56:38 2008 +0100
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Sat Feb 2 19:56:38 2008 +0100

    pdc202xx_old: remove surplus initialiser
    
    Bart:
    - drive-by CodingStyle fixups
    
    Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
    Cc: Sergei Shtylyov <[EMAIL PROTECTED]>
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
---
 drivers/ide/pci/pdc202xx_old.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c
index 9ee72c9..da43297 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);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to