drm/amd/display: remove set but not used variable 'msg_out'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 25 Nov 2019 14:54:45 +0000 (22:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Nov 2019 14:48:57 +0000 (09:48 -0500)
commitef2cb90a906a8537954ebe751e93ed3dbfae93c9
tree9722d55d4c18ac390709560b293ca47c5d09fa94
parent70ebe8a48216ae2fda862cae47ff0b8af5b279b9
drm/amd/display: remove set but not used variable 'msg_out'

drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c: In function mod_hdcp_hdcp2_enable_encryption:
drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:633:77: warning: variable msg_out set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c: In function mod_hdcp_hdcp2_enable_dp_stream_encryption:
drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:710:77: warning: variable msg_out set but not used [-Wunused-but-set-variable]

It is never used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c