Re: [PATCH linux-next] drm/i915/display: Delete redundant post_mask assignment

2021-12-08 Thread Jani Nikula
On Wed, 08 Dec 2021, Ville Syrjälä wrote: > On Wed, Dec 08, 2021 at 07:46:19AM +, cgel@gmail.com wrote: >> From: luo penghao >> >> This value will be overwritten by the following if statement, even >> if the if is not executed, the value will not be used >> >> The clang_analyzer complai

Re: [PATCH linux-next] drm/i915/display: Delete redundant post_mask assignment

2021-12-08 Thread Ville Syrjälä
On Wed, Dec 08, 2021 at 07:46:19AM +, cgel@gmail.com wrote: > From: luo penghao > > This value will be overwritten by the following if statement, even > if the if is not executed, the value will not be used > > The clang_analyzer complains as follows: > > Value stored to 'port_mask' is

[PATCH linux-next] drm/i915/display: Delete redundant post_mask assignment

2021-12-07 Thread cgel . zte
From: luo penghao This value will be overwritten by the following if statement, even if the if is not executed, the value will not be used The clang_analyzer complains as follows: Value stored to 'port_mask' is never read Reported-by: Zeal Robot Signed-off-by: luo penghao --- drivers/gpu/dr