drm/amd: Remove null check before kfree

Kfree on NULL pointer is a no-op and therefore checking is redundant.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Himanshu Jha 2017-08-29 18:51:27 +05:30 • committed by Alex Deucher
commit c5927537dd
2 changed files with 4 additions and 8 deletions