Re: [PATCH] drm/amd/display: remove redundant null check of array 'data'

2017-12-15 Thread Harry Wentland
On 2017-12-15 05:53 AM, Colin King wrote: > From: Colin Ian King > > The null check on aconnector->base.edid_blob_ptr->data is redundant > since data is an array and can never be null. Remove it. > > Detected by CoverityScan, CID#1460369 ("Array compared against 0") > > Signed-off-by: Colin Ia

Re: [PATCH] drm/amd/display: remove redundant null check of array 'data'

2017-12-15 Thread Christian König
Am 15.12.2017 um 11:53 schrieb Colin King: From: Colin Ian King The null check on aconnector->base.edid_blob_ptr->data is redundant since data is an array and can never be null. Remove it. Detected by CoverityScan, CID#1460369 ("Array compared against 0") Signed-off-by: Colin Ian King Ack

[PATCH] drm/amd/display: remove redundant null check of array 'data'

2017-12-15 Thread Colin King
From: Colin Ian King The null check on aconnector->base.edid_blob_ptr->data is redundant since data is an array and can never be null. Remove it. Detected by CoverityScan, CID#1460369 ("Array compared against 0") Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_