Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89f41f4f authored by Takashi Iwai's avatar Takashi Iwai Committed by Daniel Vetter
Browse files

drm/i915: Remove superfluous NULL check

parent 63ba534e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -653,10 +653,6 @@ static int i915_audio_component_sync_audio_rate(struct device *dev,
		intel_dig_port = enc_to_dig_port(&intel_encoder->base);
		if (port == intel_dig_port->port) {
			crtc = to_intel_crtc(intel_encoder->base.crtc);
			if (!crtc) {
				DRM_DEBUG_KMS("%s: crtc is NULL\n", __func__);
				continue;
			}
			pipe = crtc->pipe;
			break;
		}