Messages in this thread | | | Date | Sun, 13 Jun 2021 18:37:21 +0200 | From | Andrew Lunn <> | Subject | Re: [PATCH] net: phy: micrel: remove redundant assignment to pointer of_node |
| |
On Sun, Jun 13, 2021 at 02:27:40PM +0100, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > The pointer of_node is being initialized with a value that is never > read and it is being updated later with a new value inside a do-while > loop. The initialization is redundant and can be removed and the > pointer dev is no longer required and can be removed too. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
| |