OSDN Git Service

powerpc/topology: Remove the unused parent_node() macro
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 26 Jul 2017 13:34:30 +0000 (21:34 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Aug 2017 11:12:41 +0000 (21:12 +1000)
commit7baebe54a64af44dc34d0bd51462f09fe07a2acb
treefb4bcd82f95e05a79b1d98f1babf4ea779856006
parent4ae279c2c96ab38a78b954d218790a8f6db714e5
powerpc/topology: Remove the unused parent_node() macro

Commit a7be6e5a7f8d ("mm: drop useless local parameters of
__register_one_node()") removes the last user of parent_node().

The parent_node() macro in POWERPC platform is unnecessary.

Remove it for cleanup.

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/topology.h