Thread (3 messages) flat view 3 messages, 3 authors, 2021-06-15

Re: [PATCH][V2] net: dsa: b53: remove redundant null check on dev

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-06-15 14:11:33
Also in: kernel-janitors, lkml


On 6/15/2021 2:05 AM, Colin King wrote:
From: Colin Ian King <redacted>

The pointer dev can never be null, the null check is redundant
and can be removed. Cleans up a static analysis warning that
pointer priv is dereferencing dev before dev is being null
checked.

Addresses-Coverity: ("Dereference before null check")
Signed-off-by: Colin Ian King <redacted>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help