]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Cleanup unnecessary eeh_pe_state_mark_with_cfg()
authorSam Bobroff <sbobroff@linux.ibm.com>
Wed, 12 Sep 2018 01:23:30 +0000 (11:23 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 13 Oct 2018 11:21:25 +0000 (22:21 +1100)
commit3a737bbcb40370758932fcabc3954ec7197d6067
tree739bda42c794b6e4659b757b5ae954640de0c4d4
parentf233264fc2d9ec336b79cb57fe4c3fb21bc62fae
powerpc/eeh: Cleanup unnecessary eeh_pe_state_mark_with_cfg()

The function eeh_pe_state_mark_with_cfg() just performs the work of
eeh_pe_state_mark() and then, conditionally, the work of
eeh_pe_state_clear(). However it is only ever called with a constant
state such that the condition is always true, so replace it by direct
calls.

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh.c
arch/powerpc/kernel/eeh_pe.c