From: Maya Rashish Date: Sat, 21 Mar 2020 22:29:59 +0000 (+0000) Subject: drm/dp_mst: make build_clear_payload_id_table return void X-Git-Tag: v5.8-rc1~194^2~17^2~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdf7e3b782efbc6ca8fd4d6cd663f14a00cafdad;p=thirdparty%2Fkernel%2Flinux.git drm/dp_mst: make build_clear_payload_id_table return void Nothing uses the always-0 return value. Signed-off-by: Maya Rashish Signed-off-by: Lyude Paul Link: https://patchwork.freedesktop.org/patch/msgid/20200321222959.GA1053@SDF.ORG --- diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index 840c6370fb396..17a7a744fb145 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c @@ -1054,13 +1054,12 @@ static void build_link_address(struct drm_dp_sideband_msg_tx *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; req.req_type = DP_CLEAR_PAYLOAD_ID_TABLE; drm_dp_encode_sideband_req(&req, msg); - return 0; } static int build_enum_path_resources(struct drm_dp_sideband_msg_tx *msg,