drm/vc4: fix itnull.cocci warnings
[deliverable/linux.git] / drivers / gpu / drm / vc4 / vc4_crtc.c
index 7a9f4768591eabe54877327bbf6c1cc220c6d525..f794c5b6996bde773cd21e4d479fda77adb97046 100644 (file)
@@ -168,7 +168,7 @@ static int vc4_get_clock_select(struct drm_crtc *crtc)
        struct drm_connector *connector;
 
        drm_for_each_connector(connector, crtc->dev) {
-               if (connector && connector->state->crtc == crtc) {
+               if (connector->state->crtc == crtc) {
                        struct drm_encoder *encoder = connector->encoder;
                        struct vc4_encoder *vc4_encoder =
                                to_vc4_encoder(encoder);
This page took 0.02425 seconds and 5 git commands to generate.