diff options
| author | Colin Ian King <[email protected]> | 2024-02-15 22:43:01 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2024-02-16 10:51:46 +0000 |
| commit | b40034994f60082898586f906a31a9eab7fcd814 (patch) | |
| tree | 512465b9abf8ac229c272a00e27aff75777ea801 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Revert "drm/panel-edp: Add auo_b116xa3_mode" (diff) | |
| download | kernel-b40034994f60082898586f906a31a9eab7fcd814.tar.gz kernel-b40034994f60082898586f906a31a9eab7fcd814.zip | |
gpu: host1x: remove redundant assignment to variable space
The variable space is being initialized with a value that is never read,
it is being re-assigned later on. The initialization is redundant and
can be removed. Also merge two declaration lines together.
Cleans up clang scan build warning:
drivers/gpu/host1x/cdma.c:628:15: warning: Value stored to 'space'
during its initialization is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
