]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1809c81074fd4948be084805423609d1c1f3bd8
treedd632eec40323c40d5762449413b2284d7216cbc
parent130b78aee59ae91ddf142fa9e04a312e40b9fd88
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