commit | 0c17151aaae4f051ebdccde412e912631e450345 | [log] [tgz] |
---|---|---|
author | Aishwarya Pant <aishpant@gmail.com> | Wed Oct 11 00:12:07 2017 +0530 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Oct 11 13:17:52 2017 +0200 |
tree | db3c695ebff975ea3f487bb2cdb7106c06a95ea9 | |
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