Message ID | 3700e687-f8e5-edd9-2f93-54839673bb14@users.sourceforge.net (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/drivers/infiniband/hw/mthca/mthca_reset.c b/drivers/infiniband/hw/mthca/mthca_reset.c index 6727af2..0a458c6 100644 --- a/drivers/infiniband/hw/mthca/mthca_reset.c +++ b/drivers/infiniband/hw/mthca/mthca_reset.c @@ -42,12 +42,12 @@ int mthca_reset(struct mthca_dev *mdev) { int i; int err = 0; - u32 *hca_header = NULL; + u32 *hca_header; u32 *bridge_header = NULL; struct pci_dev *bridge = NULL; int bridge_pcix_cap = 0; - int hca_pcie_cap = 0; - int hca_pcix_cap = 0; + int hca_pcie_cap; + int hca_pcix_cap; u16 devctl; u16 linkctl;