drm/dp_mst: make build_clear_payload_id_table return void
Subsystems (2)
PATCH 1/1 drm/dp_mst: make build_clear_payload_id_table return void
Nothing uses the always-0 return value.
Signed-off-by Maya Rashish <[email protected]>
--- drivers/gpu/drm/drm_dp_mst_topology.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/drm_dp_mst_topology.c +1 -2
@@ -1060,13 +1060,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,
Signature · 6 lines
2.20.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by Lyude Paul <[email protected]>
I'll go ahead and push it to drm-misc-next, thanks!
Quoted 29 lines · Maya Rashish
Nothing uses the always-0 return value.
Signed-off-by Maya Rashish <[email protected]>--- drivers/gpu/drm/drm_dp_mst_topology.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/drm_dp_mst_topology.c +1
-2@@ -1060,13 +1060,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,
Signature · 8 lines
Cheers, Lyude Paul (she/her) Associate Software Engineer at Red Hat _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel