Re: [Intel-gfx] [PATCH 2/2] drm/i915: Drop unnecessary NULL test

2015-12-10 Thread Daniel Vetter
On Tue, Dec 08, 2015 at 02:48:52PM -0800, Matt Roper wrote: > We can never be passed a NULL crtc_state (and if we could there are > plenty of other places later in this function where we access it > without testing for NULL). > > Signed-off-by: Matt Roper Yup, atomic state structures better exis

[Intel-gfx] [PATCH 2/2] drm/i915: Drop unnecessary NULL test

2015-12-08 Thread Matt Roper
We can never be passed a NULL crtc_state (and if we could there are plenty of other places later in this function where we access it without testing for NULL). Signed-off-by: Matt Roper --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d