lkml.org 
[lkml]   [2021]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2021-06-13 18:38    [W:5.297 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site