]> git.baikalelectronics.ru Git - kernel.git/commit
include/asm-generic/topology.h: remove unused parent_node() macro
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Fri, 17 Nov 2017 23:31:43 +0000 (15:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:05 +0000 (16:10 -0800)
commit98a4c2daa743093c90a699cf2b0b6d8f2b30640a
treeb5d7ba0d64d99d1117a693af159628ceb11b6bcd
parenta7a6afef4e0703a13e61e1332a9cbfbf6849ee81
include/asm-generic/topology.h: remove unused parent_node() macro

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

The parent_node() macro in generic situation is unnecessary.

Remove it for cleanup.

Link: http://lkml.kernel.org/r/1504234599-29533-8-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/topology.h