Merge tag 'regulator-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-2.6-microblaze.git] / drivers / gpu / drm / drm_dp_mst_topology.c
index e875425..0401b2f 100644 (file)
@@ -3260,7 +3260,7 @@ int drm_dp_send_query_stream_enc_status(struct drm_dp_mst_topology_mgr *mgr,
 {
        struct drm_dp_sideband_msg_tx *txmsg;
        u8 nonce[7];
-       int len, ret;
+       int ret;
 
        txmsg = kzalloc(sizeof(*txmsg), GFP_KERNEL);
        if (!txmsg)
@@ -3281,7 +3281,7 @@ int drm_dp_send_query_stream_enc_status(struct drm_dp_mst_topology_mgr *mgr,
         */
        txmsg->dst = mgr->mst_primary;
 
-       len = build_query_stream_enc_status(txmsg, port->vcpi.vcpi, nonce);
+       build_query_stream_enc_status(txmsg, port->vcpi.vcpi, nonce);
 
        drm_dp_queue_down_tx(mgr, txmsg);