Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e218ba7d authored by Tony Truong's avatar Tony Truong
Browse files

msm: pcie: initialize var in GPIO init function



It is possible a variable will be accessed before
it is ever initialized. Properly initialize this
variable when it is declared.

Change-Id: Id1523786f1c87449ed3943f1726766dad6a4ade2
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 8a8abceb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3282,7 +3282,7 @@ static struct pci_ops msm_pcie_ops = {

static int msm_pcie_gpio_init(struct msm_pcie_dev_t *dev)
{
	int rc, i;
	int rc = 0, i;
	struct msm_pcie_gpio_info_t *info;

	PCIE_DBG(dev, "RC%d\n", dev->rc_idx);