[PATCH] powerpc: remove unneeded if-checks

2023-04-28 Thread Tom Rix
ound empty body in an 'if' statement [-Werror=empty-body] 333 | ; | ^ These if-checks do not do anything so remove them. Signed-off-by: Tom Rix --- arch/powerpc/platforms/cell/spu_base.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/ar

[PATCH v2] soc: fsl: qe: remove unused qe_ic_from_irq function

2023-03-20 Thread Tom Rix
ot;soc: fsl: qe: remove unused qe_ic_set_* functions") This function is not used, so remove it. Signed-off-by: Tom Rix --- v2: Add to commit log when the use was removed. --- drivers/soc/fsl/qe/qe_ic.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/soc/fsl/qe/qe_ic.c

[PATCH] soc: fsl: qe: remove unused qe_ic_from_irq function

2023-03-19 Thread Tom Rix
clang with W=1 reports drivers/soc/fsl/qe/qe_ic.c:235:29: error: unused function 'qe_ic_from_irq' [-Werror,-Wunused-function] static inline struct qe_ic *qe_ic_from_irq(unsigned int virq) ^ This function is not used, so remove it. Signed-off-by: Tom Rix --

Re: [PATCH] powerpc: Remove CONFIG_PPC_MMU_NOHASH_32

2021-06-03 Thread Tom Rix
On 6/3/21 12:53 AM, Christophe Leroy wrote: Since commit Fixes: 555904d07eef ("powerpc/8xx: MM_SLICE is not needed anymore"), CONFIG_PPC_MMU_NOHASH_32 has not been used. Remove it. Reported-by: Tom Rix Signed-off-by: Christophe Leroy Thanks, one less for me to do. There are

Re: [PATCH] powerpc/8xx: select CPM1 for MPC8XXFADS

2021-06-02 Thread Tom Rix
On 6/2/21 12:44 AM, Christophe Leroy wrote: Le 01/06/2021 à 19:53, t...@redhat.com a écrit : From: Tom Rix With MPC8XXFADS, there is this linker error ppc64-linux-ld: m8xx_setup.o: in function `cpm_cascade': m8xx_setup.c: undefined reference to `cpm_get_irq' It looks like t