aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <[email protected]>2021-08-23 15:33:23 +0000
committerMark Brown <[email protected]>2021-08-23 15:41:06 +0000
commitd019403a777e9978767d0551fa55f624baf7df09 (patch)
tree6a73f19d4865a341c412698736857fdcee444cf8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentASoC: Intel: bytcr_rt5640: Mark hp_elitepad_1000g2_jack?_check functions static (diff)
downloadkernel-d019403a777e9978767d0551fa55f624baf7df09.tar.gz
kernel-d019403a777e9978767d0551fa55f624baf7df09.zip
ASoC: rt1015: remove possible unused variable `bclk_ms'
bclk_ms is possible unused by using the given config (see [1]). sound/soc/codecs/rt1015.c:724:2: warning: Value stored to 'bclk_ms' is never read [clang-analyzer-deadcode.DeadStores] bclk_ms = frame_size > 32; ^ ~~~~~~~~~~~~~~~ In addition, bclk_ms is meaningless and confusing after applying commit a5db2ca51367 ("ASoC: rt1015: remove unneeded variables in rt1015_priv"). The "> 32" in the expression looks like a typo but it was not. Let's remove the confusing variable bclk_ms. [1]: https://lkml.org/lkml/2021/8/23/305 Reported-by: kernel test robot <[email protected]> Signed-off-by: Tzung-Bi Shih <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions