Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/msm/a5xx: remove null pointer check on pdev
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 <[email protected]> Reviewed-by: Akhil P Oommen <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/624180/ Signed-off-by: Rob Clark <[email protected]>
- Loading branch information