drm/amdgpu/dm/mst: Remove unnecessary NULL check
authorLyude Paul <lyude@redhat.com>
Thu, 26 Sep 2019 22:51:04 +0000 (18:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:05 +0000 (09:11 -0500)
commitd7a1b559f3c812816151deba595bb72e04795633
treedd632eec40323c40d5762449413b2284d7216cbc
parentf8d2d39eb406946546d71e5869b04d99fa094834
drm/amdgpu/dm/mst: Remove unnecessary NULL check

kfree() checks this automatically.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c