PCI: exynos: Remove unnecessary local variables
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 16 Jan 2017 06:31:36 +0000 (15:31 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 8 Feb 2017 19:38:39 +0000 (13:38 -0600)
commite3538f402453beca2d83002910cfe13b43d8a95b
tree1fa7177d40b252c262638244e4429a438df98972
parentd6da7d90fad8e34afdebeadbb08484ea4c98a792
PCI: exynos: Remove unnecessary local variables

Remove unnecessary local variables: elbi_base, phy_base, block_base.  We
need one resource structure for assigning each resource.  Reuse the single
'res' variable for all.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Jingoo Han <jingoohan1@gmail.com>
drivers/pci/host/pci-exynos.c