PCI: rcar: Do not shadow the 'irq' variable
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 17 Mar 2019 09:34:45 +0000 (10:34 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 4 Apr 2019 10:49:07 +0000 (11:49 +0100)
commita27beb5820d1a52b1e2863a4ae5545a1dd4ab35a
tree2b25f0825778baf3aea6ef9f85ae4124115ac5d4
parentf0d14edd2ba43b995bef4dd5da5ffe0ae19321a1
PCI: rcar: Do not shadow the 'irq' variable

The sparse tool rightfully detects:
drivers/pci/controller/pcie-rcar.c:741:30: warning: symbol 'irq' shadows an earlier one

Fix it now to avoid future surprises and for good coding style.

No functional change intended.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[lorenzo.pieralisi@arm.com: commit log refactoring]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/controller/pcie-rcar.c