summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorXiaolei Wang <xiaolei.wang@windriver.com>2024-08-02 10:16:51 +0800
committerChristophe Leroy <christophe.leroy@csgroup.eu>2024-09-03 07:50:57 +0200
commite266aa8b3598c81ea30898a8da20a41f76faa09a (patch)
tree3ae1728d1eabaeac30391aff9670ef9991d634b9 /drivers/soc
parent77a1a513083188f12361c45f08bdcfa508749b76 (diff)
downloadlinux-stable-e266aa8b3598c81ea30898a8da20a41f76faa09a.tar.gz
linux-stable-e266aa8b3598c81ea30898a8da20a41f76faa09a.tar.bz2
linux-stable-e266aa8b3598c81ea30898a8da20a41f76faa09a.zip
soc: fsl: qbman: Remove redundant warnings
This warning was added by commit 07f86917a450 ("soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocations") but RESERVEDMEM_OF_DECLARE usage was removed by commit 3e62273ac63a ("soc: fsl: qbman: Remove RESERVEDMEM_OF_DECLARE usage") . For non-popwerpc platforms, such as ls1043, this warning is redundant. ls1043 itself uses shared-dma-mem. Fixes: 3e62273ac63a ("soc: fsl: qbman: Remove RESERVEDMEM_OF_DECLARE usage") Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com> Link: https://lore.kernel.org/r/20240802021651.3854295-1-xiaolei.wang@windriver.com [chleroy: Added more details in commit message] Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/fsl/qbman/qman_ccsr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/soc/fsl/qbman/qman_ccsr.c b/drivers/soc/fsl/qbman/qman_ccsr.c
index 392e54f14dbe..aa5348f4902f 100644
--- a/drivers/soc/fsl/qbman/qman_ccsr.c
+++ b/drivers/soc/fsl/qbman/qman_ccsr.c
@@ -791,8 +791,6 @@ static int fsl_qman_probe(struct platform_device *pdev)
* FQD memory MUST be zero'd by software
*/
zero_priv_mem(fqd_a, fqd_sz);
-#else
- WARN(1, "Unexpected architecture using non shared-dma-mem reservations");
#endif
dev_dbg(dev, "Allocated FQD 0x%llx 0x%zx\n", fqd_a, fqd_sz);