Re: [PATCH 2/6] drm/amdgpu/dm/mst: Remove unnecessary NULL check

2019-09-27 Thread Alex Deucher
On Thu, Sep 26, 2019 at 6:52 PM Lyude Paul wrote: > > kfree() checks this automatically. > > Signed-off-by: Lyude Paul Reviewed-by: Alex Deucher And applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 6 ++ > 1 file changed, 2 insertions(+), 4 de

[PATCH 2/6] drm/amdgpu/dm/mst: Remove unnecessary NULL check

2019-09-26 Thread Lyude Paul
kfree() checks this automatically. Signed-off-by: Lyude Paul --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu