Merge tag 'input-for-v6.6-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor...
[platform/kernel/linux-rpi.git] / drivers / mailbox / qcom-ipcc.c
index 7e27acf..f597a1b 100644 (file)
@@ -227,10 +227,8 @@ static int qcom_ipcc_setup_mbox(struct qcom_ipcc *ipcc,
                        ret = of_parse_phandle_with_args(client_dn, "mboxes",
                                                "#mbox-cells", j, &curr_ph);
                        of_node_put(curr_ph.np);
-                       if (!ret && curr_ph.np == controller_dn) {
+                       if (!ret && curr_ph.np == controller_dn)
                                ipcc->num_chans++;
-                               break;
-                       }
                }
        }