diff options
author | 2020-07-29 16:34:01 +0800 | |
---|---|---|
committer | 2020-07-30 15:36:44 -0400 | |
commit | 317469f695c27e290b8001a0df0fdbb95f27bfa9 (patch) | |
tree | 66e27aa4244cb7f225ca9ed30582ad66e2cbafd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl() (diff) | |
download | wireguard-linux-317469f695c27e290b8001a0df0fdbb95f27bfa9.tar.xz wireguard-linux-317469f695c27e290b8001a0df0fdbb95f27bfa9.zip |
drm/amd/powerplay: Remove unneeded cast from memory allocation
Remove casting the values returned by memory allocation function.
Coccinelle emits WARNING:
./drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c:893:37-46: WARNING: casting value returned by memory allocation function to (PPTable_t *) is useless.
Signed-off-by: Li Heng <liheng40@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions