diff --git a/include/linux/sde_rsc.h b/include/linux/sde_rsc.h index 4b61295ad084..23bd164fbbbd 100644 --- a/include/linux/sde_rsc.h +++ b/include/linux/sde_rsc.h @@ -273,14 +273,6 @@ bool is_sde_rsc_available(int rsc_index); */ enum sde_rsc_state get_sde_rsc_current_state(int rsc_index); -/** - * get_sde_rsc_primary_crtc - gets the primary crtc for the sde rsc. - * @rsc_index: A client will be created on this RSC. As of now only - * SDE_RSC_INDEX is valid rsc index. - * Returns: crtc id of primary crtc ; 0 for all other cases. - */ -int get_sde_rsc_primary_crtc(int rsc_index); - /** * sde_rsc_client_trigger_vote() - triggers ab/ib vote for rsc client * @@ -357,11 +349,6 @@ static inline enum sde_rsc_state get_sde_rsc_current_state(int rsc_index) return SDE_RSC_IDLE_STATE; } -static inline int get_sde_rsc_primary_crtc(int rsc_index) -{ - return 0; -} - static inline int sde_rsc_client_trigger_vote( struct sde_rsc_client *caller_client, bool delta_vote) {