Commit bdf7e3b7 authored by Maya Rashish's avatar Maya Rashish Committed by Lyude Paul

drm/dp_mst: make build_clear_payload_id_table return void

Nothing uses the always-0 return value.
Signed-off-by: default avatarMaya Rashish <coypu@sdf.org>
Signed-off-by: default avatarLyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200321222959.GA1053@SDF.ORG
parent 80e5f89d
...@@ -1054,13 +1054,12 @@ static void build_link_address(struct drm_dp_sideband_msg_tx *msg) ...@@ -1054,13 +1054,12 @@ static void build_link_address(struct drm_dp_sideband_msg_tx *msg)
drm_dp_encode_sideband_req(&req, msg); drm_dp_encode_sideband_req(&req, msg);
} }
static int build_clear_payload_id_table(struct drm_dp_sideband_msg_tx *msg) static void build_clear_payload_id_table(struct drm_dp_sideband_msg_tx *msg)
{ {
struct drm_dp_sideband_msg_req_body req; struct drm_dp_sideband_msg_req_body req;
req.req_type = DP_CLEAR_PAYLOAD_ID_TABLE; req.req_type = DP_CLEAR_PAYLOAD_ID_TABLE;
drm_dp_encode_sideband_req(&req, msg); drm_dp_encode_sideband_req(&req, msg);
return 0;
} }
static int build_enum_path_resources(struct drm_dp_sideband_msg_tx *msg, static int build_enum_path_resources(struct drm_dp_sideband_msg_tx *msg,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment