Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

interconnect: qcom: sm6350: Remove empty BCM arrays

Clean up the code by removing empty BCM arrays to save some lines.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20251114-sm6350-icc-qos-v2-3-6af348cb9c69@fairphone.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Luca Weiss and committed by
Georgi Djakov
ccd789e5 b56fb8aa

-10
-10
drivers/interconnect/qcom/sm6350.c
··· 1526 1526 .num_bcms = ARRAY_SIZE(config_noc_bcms), 1527 1527 }; 1528 1528 1529 - static struct qcom_icc_bcm * const dc_noc_bcms[] = { 1530 - }; 1531 - 1532 1529 static struct qcom_icc_node * const dc_noc_nodes[] = { 1533 1530 [MASTER_CNOC_DC_NOC] = &qhm_cnoc_dc_noc, 1534 1531 [SLAVE_GEM_NOC_CFG] = &qhs_gemnoc, ··· 1535 1538 static const struct qcom_icc_desc sm6350_dc_noc = { 1536 1539 .nodes = dc_noc_nodes, 1537 1540 .num_nodes = ARRAY_SIZE(dc_noc_nodes), 1538 - .bcms = dc_noc_bcms, 1539 - .num_bcms = ARRAY_SIZE(dc_noc_bcms), 1540 1541 }; 1541 1542 1542 1543 static struct qcom_icc_bcm * const gem_noc_bcms[] = { ··· 1595 1600 .num_bcms = ARRAY_SIZE(mmss_noc_bcms), 1596 1601 }; 1597 1602 1598 - static struct qcom_icc_bcm * const npu_noc_bcms[] = { 1599 - }; 1600 - 1601 1603 static struct qcom_icc_node * const npu_noc_nodes[] = { 1602 1604 [MASTER_NPU_SYS] = &amm_npu_sys, 1603 1605 [MASTER_NPU_NOC_CFG] = &qhm_npu_cfg, ··· 1612 1620 static const struct qcom_icc_desc sm6350_npu_noc = { 1613 1621 .nodes = npu_noc_nodes, 1614 1622 .num_nodes = ARRAY_SIZE(npu_noc_nodes), 1615 - .bcms = npu_noc_bcms, 1616 - .num_bcms = ARRAY_SIZE(npu_noc_bcms), 1617 1623 }; 1618 1624 1619 1625 static struct qcom_icc_bcm * const system_noc_bcms[] = {