aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2023-02-06 05:58:31 -0800
committerBjorn Andersson <[email protected]>2023-02-06 12:25:00 -0800
commitdcb4e7a57cbe8d85e4927f517ae28aab17596419 (patch)
tree1b09ca8e30024a0510d799516f1561b430cac4cd /lib/test-string_helpers.c
parentacdbf5f9b2c492505145f6e50c65418521a547c4 (diff)
soc: qcom: pmic_glink: remove redundant calculation of svid
gcc with W=1 reports drivers/soc/qcom/pmic_glink_altmode.c:223:13: error: variable ‘svid’ set but not used [-Werror=unused-but-set-variable] 223 | u16 svid; From reviewing the code, the setting of alt_port->svid does the same calculation. Both are not needed. For debuggablity, keep the setting of local svid. Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions