Now that the chrp machine has been removed these tests can never be true, remove them.
Signed-off-by: Michael Ellerman <m...@ellerman.id.au> --- arch/powerpc/kernel/rtasd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/rtasd.c b/arch/powerpc/kernel/rtasd.c index 9bba469239fc..ce039c187156 100644 --- a/arch/powerpc/kernel/rtasd.c +++ b/arch/powerpc/kernel/rtasd.c @@ -502,7 +502,7 @@ static int __init rtas_event_scan_init(void) { int err; - if (!machine_is(pseries) && !machine_is(chrp)) + if (!machine_is(pseries)) return 0; /* No RTAS */ @@ -545,7 +545,7 @@ static int __init rtas_init(void) { struct proc_dir_entry *entry; - if (!machine_is(pseries) && !machine_is(chrp)) + if (!machine_is(pseries)) return 0; if (!rtas_log_buf) -- 2.47.0