link_enc_cfg_get_link_enc_used_by_stream() is no longer used after
2021's:
commit 
6366b00346c0 ("drm/amd/display: Maintain consistent mode of
operation during encoder assignment")
which introduces and uses the _current version instead.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
        return link_enc;
 }
 
-struct link_encoder *link_enc_cfg_get_link_enc_used_by_stream(
-               struct dc *dc,
-               const struct dc_stream_state *stream)
-{
-       struct link_encoder *link_enc;
-
-       link_enc = link_enc_cfg_get_link_enc_used_by_link(dc, stream->link);
-
-       return link_enc;
-}
-
 struct link_encoder *link_enc_cfg_get_link_enc(
                const struct dc_link *link)
 {
 
 /* Return next available DIG link encoder. NULL if none available. */
 struct link_encoder *link_enc_cfg_get_next_avail_link_enc(struct dc *dc);
 
-/* Return DIG link encoder used by stream. NULL if unused. */
-struct link_encoder *link_enc_cfg_get_link_enc_used_by_stream(
-               struct dc *dc,
-               const struct dc_stream_state *stream);
-
 /* Return DIG link encoder. NULL if unused. */
 struct link_encoder *link_enc_cfg_get_link_enc(const struct dc_link *link);