RE: [PATCH v2] gpu: drm/amd: Remove the redundant null pointer check in list_for_each_entry() loops

2023-06-12 Thread Kim, Jonathan
edesktop.org>; open list ; Kim, > Jonathan > Cc: opensource.ker...@vivo.com > Subject: Re: [PATCH v2] gpu: drm/amd: Remove the redundant null pointer > check in list_for_each_entry() loops > > [+Jon] > > Am 2023-06-12 um 07:58 schrieb Lu Hongfei: > > p

Re: [PATCH v2] gpu: drm/amd: Remove the redundant null pointer check in list_for_each_entry() loops

2023-06-12 Thread Felix Kuehling
[+Jon] Am 2023-06-12 um 07:58 schrieb Lu Hongfei: pqn bound in list_for_each_entry loop will not be null, so there is no need to check whether pqn is NULL or not. Thus remove a redundant null pointer check. Signed-off-by: Lu Hongfei --- The filename of the previous version was:

[PATCH v2] gpu: drm/amd: Remove the redundant null pointer check in list_for_each_entry() loops

2023-06-12 Thread Lu Hongfei
pqn bound in list_for_each_entry loop will not be null, so there is no need to check whether pqn is NULL or not. Thus remove a redundant null pointer check. Signed-off-by: Lu Hongfei --- The filename of the previous version was: 0001-gpu-drm-amd-Fix-the-bug-in-list_for_each_entry-loops.patch