Skip to content

Commit c73e60e

Browse files
author
Georgi Djakov
committed
interconnect: qcom: icc-rpm: Explicitly return 0 at the end of the function
Fix the following smatch error: drivers/interconnect/qcom/icc-rpm.c:243 qcom_icc_rpm_set() error: uninitialized symbol 'ret'. Fixes: 32846c4 ("interconnect: qcom: icc-rpm: Set bandwidth on both contexts") Reviewed-by: Stephan Gerhold <stephan@gerhold.net> Link: https://lore.kernel.org/r/20230717125534.2455745-1-djakov@kernel.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
1 parent cff66ac commit c73e60e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/interconnect/qcom/icc-rpm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ static int qcom_icc_rpm_set(struct qcom_icc_node *qn, u64 *bw)
240240
}
241241
}
242242

243-
return ret;
243+
return 0;
244244
}
245245

246246
/**

0 commit comments

Comments
 (0)