Skip to content
Commit 0c17151a authored by Aishwarya Pant's avatar Aishwarya Pant Committed by Daniel Vetter
Browse files

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: default avatarAishwarya Pant <aishpant@gmail.com>
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171010184207.iv3dinrtwvbv7fei@aishwarya
parent e25f1f7c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment