aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorRahul Tanwar <[email protected]>2020-07-16 06:30:32 +0000
committerStephen Boyd <[email protected]>2020-07-24 08:58:15 +0000
commitd310124cd99df5e5011d79f36a6d16d3452de348 (patch)
tree139e3448d113699f4bc9ead0b7ce4871f700c32c /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentclk: intel: Improve locking in the driver (diff)
downloadkernel-d310124cd99df5e5011d79f36a6d16d3452de348.tar.gz
kernel-d310124cd99df5e5011d79f36a6d16d3452de348.zip
clk: intel: Avoid unnecessary memset by improving code
memset can be avoided in a loop if the variables used are declared inside the loop. Move such variables declaration inside the loop to avoid memset. Signed-off-by: Rahul Tanwar <[email protected]> Link: https://lore.kernel.org/r/26624b65d0e6b958c4765a406b9929d1a9ce1c2c.1594880946.git.rahul.tanwar@linux.intel.com [[email protected]: Drop NULL assignment that is overwritten] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions