Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2b0172e1c6e6aea0a4efcfaaab38d4a02046f45a
Commit:     2b0172e1c6e6aea0a4efcfaaab38d4a02046f45a
Parent:     1d7f502380072542a38086588b0f200c9555ed4e
Author:     Jeff Garzik <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 23:30:31 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 08:43:01 2007 -0700

    drivers/char/ip2: fix used-uninit'd bug
    
    Fix bug flagged by a variable-used-uninitialized warning.
    
    [EMAIL PROTECTED]: coding-style]
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/char/ip2/ip2main.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c
index 3300ba3..2124dce 100644
--- a/drivers/char/ip2/ip2main.c
+++ b/drivers/char/ip2/ip2main.c
@@ -619,11 +619,7 @@ ip2_loadmain(int *iop, int *irqp, unsigned char *firmware, 
int firmsize)
                                        ip2config.irq[i] = pci_dev_i->irq;
                                } else {        // ann error
                                        ip2config.addr[i] = 0;
-                                       if (status == PCIBIOS_DEVICE_NOT_FOUND) 
{
-                                               printk( KERN_ERR "IP2: PCI 
board %d not found\n", i );
-                                       } else {
-                                               printk( KERN_ERR "IP2: PCI 
error 0x%x \n", status );
-                                       }
+                                       printk(KERN_ERR "IP2: PCI board %d not 
found\n", i);
                                } 
                        }
 #else
-
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