[PATCH][V2] drm/msm/a5xx: remove null pointer check on pdev

Konrad Dybcio konrad.dybcio at oss.qualcomm.com
Thu Nov 14 13:57:20 UTC 2024


On 12.11.2024 7:22 PM, Colin Ian King wrote:
> The call chain on a5xx_gpu_init is such that pdev is not going to be
> null, so the null check on pdev can be removed. This also cleans up
> a static analysis warning where pdev is dereferenced before the null
> check which cannot actually occur.
> 
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
> 
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio at oss.qualcomm.com>

Konrad


More information about the Freedreno mailing list