drm/amd/display: fix double assignment to msg_id field
authorColin Ian King <colin.king@canonical.com>
Wed, 20 Nov 2019 17:22:42 +0000 (17:22 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2019 22:54:52 +0000 (17:54 -0500)
commitf706ec87ea4cd193b772a85ff66a693520dbf12d
treeae62f857ef325ce315bb50db717f1f824d2e9eb4
parent0e29be9e0bbbf9cb3d718c5c48382b1420ce0749
drm/amd/display: fix double assignment to msg_id field

The msg_id field is being assigned twice. Fix this by replacing the second
assignment with an assignment to msg_size.

Addresses-Coverity: ("Unused value")
Fixes: 11a00965d261 ("drm/amd/display: Add PSP block to verify HDCP2.2 steps")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c