]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/amd/display: Removed unreferenced variables.
authorGeorge Shen <george.shen@amd.com>
Fri, 9 Oct 2020 23:01:11 +0000 (19:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:34:41 +0000 (13:34 -0400)
Signed-off-by: George Shen <george.shen@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_sink.c
drivers/gpu/drm/amd/display/dc/dc.h

index 9e16af22e4aafc4867b91967ef330dc840314283..a249a0e5edd0ff6b67894af5b557c561ac8f6200 100644 (file)
@@ -54,7 +54,6 @@ static bool dc_sink_construct(struct dc_sink *sink, const struct dc_sink_init_da
        sink->ctx = link->ctx;
        sink->dongle_max_pix_clk = init_params->dongle_max_pix_clk;
        sink->converter_disable_audio = init_params->converter_disable_audio;
-       sink->is_mst_legacy = init_params->sink_is_legacy;
        sink->dc_container_id = NULL;
        sink->sink_id = init_params->link->ctx->dc_sink_id_count;
        // increment dc_sink_id_count because we don't want two sinks with same ID
index 7622cd222d66d0af4b8cb15223d51bfc95f60a8b..b7f53908ebeac41ecb8d0c0c42eeafe88737f834 100644 (file)
@@ -1175,7 +1175,7 @@ struct dc_sink {
        void *priv;
        struct stereo_3d_features features_3d[TIMING_3D_FORMAT_MAX];
        bool converter_disable_audio;
-       bool is_mst_legacy;
+
        struct dc_sink_dsc_caps dsc_caps;
        struct dc_sink_fec_caps fec_caps;
 
@@ -1202,7 +1202,6 @@ struct dc_sink_init_data {
        struct dc_link *link;
        uint32_t dongle_max_pix_clk;
        bool converter_disable_audio;
-       bool sink_is_legacy;
 };
 
 struct dc_sink *dc_sink_create(const struct dc_sink_init_data *init_params);