[PATCH] drm/vc4: remove redundant ret status check

2016-07-11 Thread Eric Anholt
Colin King writes: > From: Colin Ian King > > At the current point where ret is being checked for non-zero it has > not changed since it was initialized to zero, hence the check and the > label unref are redundant and can be removed. Reviewed-by: Eric Anholt I'll put this in my next pull requ

[PATCH] drm/vc4: remove redundant ret status check

2016-07-09 Thread Colin King
From: Colin Ian King At the current point where ret is being checked for non-zero it has not changed since it was initialized to zero, hence the check and the label unref are redundant and can be removed. Signed-off-by: Colin Ian King --- drivers/gpu/drm/vc4/vc4_drv.c | 3 --- 1 file changed,