]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Remove legacy debug code
authorBreno Leitao <leitao@debian.org>
Mon, 18 Jun 2018 22:15:02 +0000 (19:15 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 2 Jul 2018 13:54:28 +0000 (23:54 +1000)
commit5bd66106371ef3a5798636ce5fb369c959a2688e
treea63d889ed02eb69bb1aa1e0825df98a05b8dd6ff
parentadedad9fd7f24919b6745a13fc33a26e95b4641b
powerpc/pci: Remove legacy debug code

Commit 58852ed9dec5 ("powerpc/pci: Use of_irq_parse_and_map_pci() helper")
removed the 'oirq' variable, but kept memsetting it when the DEBUG macro is
defined.

When setting DEBUG macro for debugging purpose, the kernel fails to build since
'oirq' is not defined anymore.

This patch simply remove the debug block, since it does not seem to sense
now.

Fixes: 58852ed9dec517 ("powerpc/pci: Use of_irq_parse_and_map_pci() helper")
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/pci-common.c