powerpc/powernv: Remove set but not used variable 'parent'
authorzhengbin <zhengbin13@huawei.com>
Tue, 19 Nov 2019 06:14:34 +0000 (14:14 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Aug 2020 15:31:32 +0000 (01:31 +1000)
commit18102e4bcc47f5b5ac70e2e4461d022c1ee6df24
tree22e642e5ede4c670d7ffe7ac5898fdd44b777a69
parentef23cf9a89a7aec19a29d548d1e219d436b23b6e
powerpc/powernv: Remove set but not used variable 'parent'

Fix gcc '-Wunused-but-set-variable' warning:

arch/powerpc/platforms/powernv/pci-ioda.c: In function pnv_ioda_configure_pe:
arch/powerpc/platforms/powernv/pci-ioda.c:867:18: warning: variable parent set but not used [-Wunused-but-set-variable]

It is not used since commit b131a8425c34 ("powerpc/powernv:
Set PELTV for compound PEs")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1574144074-142032-6-git-send-email-zhengbin13@huawei.com
arch/powerpc/platforms/powernv/pci-ioda.c