aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-03-21 09:27:07 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-03-21 14:05:26 -0500
commit06b61d4a3ccaba6c502f1ff8646ba3579e5755d3 (patch)
treeaa9e92974da1d15c95e33f2dd1321a7b88ba808c /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent4e8738a206d28d681c1c5195e4d085d5ffcb00fc (diff)
drm/amd/powerplay: delete some dead code
The "size" variable is unsigned. We never pass invalid sizes to this function and we already used it as an array offset earlier so it's too late to check here. Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions