diff options
author | Aishwarya Pant <aishpant@gmail.com> | 2017-10-11 00:12:07 +0530 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-10-11 13:17:52 +0200 |
commit | 0c17151aaae4f051ebdccde412e912631e450345 (patch) | |
tree | db3c695ebff975ea3f487bb2cdb7106c06a95ea9 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
parent | e25f1f7c94e16d4493398300efa03e5b6c77fcbf (diff) |
drm/msm/mdp5: remove less than 0 comparison for unsigned value
pipe is an unsigned int and less than zero comparison for unsigned
values is always false.
Detected using the following cocci script:
@@
unsigned int i;
@@
* i < 0
Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171010184207.iv3dinrtwvbv7fei@aishwarya
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions