powerpc/85xx: Remove #ifdef CONFIG_QUICC_ENGINE in mpc85xx_rdb
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 8 Apr 2023 14:01:15 +0000 (16:01 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2023 00:20:51 +0000 (10:20 +1000)
mpc85xx_qe_par_io_init() is a stub when CONFIG_QUICC_ENGINE is not set.

CONFIG_UCC_GETH and CONFIG_SERIAL_QE depend on CONFIG_QUICC_ENGINE.

Remove #ifdef CONFIG_QUICC_ENGINE

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230408140122.25293-7-pali@kernel.org
arch/powerpc/platforms/85xx/mpc85xx_rdb.c

index 64badacf126dd96cb370a6dbf0f16de7e82636f9..cdafecaecf563251f1c71815c4a95dd98137503d 100644 (file)
@@ -57,7 +57,6 @@ static void __init mpc85xx_rdb_setup_arch(void)
 
        fsl_pci_assign_primary();
 
-#ifdef CONFIG_QUICC_ENGINE
        mpc85xx_qe_par_io_init();
 #if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE)
        if (machine_is(p1025_rdb)) {
@@ -90,7 +89,6 @@ static void __init mpc85xx_rdb_setup_arch(void)
 
        }
 #endif
-#endif /* CONFIG_QUICC_ENGINE */
 
        pr_info("MPC85xx RDB board from Freescale Semiconductor\n");
 }