Loading drivers/gpu/drm/msm/sde/sde_crtc.h +1 −8 Original line number Diff line number Diff line Loading @@ -646,14 +646,7 @@ static inline enum sde_crtc_client_type sde_crtc_get_client_type( */ static inline bool sde_crtc_is_enabled(struct drm_crtc *crtc) { struct sde_crtc *sde_crtc; if (!crtc) return false; sde_crtc = to_sde_crtc(crtc); return sde_crtc->enabled; return crtc ? crtc->enabled : false; } /** Loading Loading
drivers/gpu/drm/msm/sde/sde_crtc.h +1 −8 Original line number Diff line number Diff line Loading @@ -646,14 +646,7 @@ static inline enum sde_crtc_client_type sde_crtc_get_client_type( */ static inline bool sde_crtc_is_enabled(struct drm_crtc *crtc) { struct sde_crtc *sde_crtc; if (!crtc) return false; sde_crtc = to_sde_crtc(crtc); return sde_crtc->enabled; return crtc ? crtc->enabled : false; } /** Loading