Re: [Patch v1 01/10] memory: tegra: add interconnect support for DRAM scaling in Tegra234

From: Dmitry Osipenko
Date: Wed Dec 21 2022 - 14:17:28 EST


20.12.2022 19:02, Sumit Gupta пишет:
> +static int tegra_emc_icc_set_bw(struct icc_node *src, struct icc_node *dst)
> +{
> + struct tegra186_emc *emc = to_tegra186_emc(dst->provider);
> + struct tegra_mc *mc = dev_get_drvdata(emc->dev->parent);
> + struct mrq_bwmgr_int_request bwmgr_req = { 0 };
> + struct mrq_bwmgr_int_response bwmgr_resp = { 0 };
> + struct tegra_icc_node *tnode = mc->curr_tnode;
> + struct tegra_bpmp_message msg;
> + int ret = 0;

Nit: unnecessarily initialized var, the same for the rest of the code