Skip to content

ufs: qcom: Remove unused int err variable from ufs_qcom_init_lane_clks - #1070

Closed
ggiriprasad wants to merge 10000 commits into
qualcomm-linux:mainfrom
ggiriprasad:pr-1069
Closed

ufs: qcom: Remove unused int err variable from ufs_qcom_init_lane_clks#1070
ggiriprasad wants to merge 10000 commits into
qualcomm-linux:mainfrom
ggiriprasad:pr-1069

Conversation

@ggiriprasad

Copy link
Copy Markdown

This commit removes the unused 'int err;' variable declaration from the ufs_qcom_init_lane_clks() function to match the complete patch for 'Enable only lane clocks in lane clock APIs'.

The variable was declared but never used in the function, as all clock retrieval operations use devm_clk_get() which returns errors via IS_ERR() checks rather than through an err variable.

This fix completes PR #1069 by addressing the missing change that was in the original patch.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.