lkml.org 
[lkml]   [2023]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 03/20] pinctrl: ti: ti-iodelay: Drop if block with always false condition
    On Mon, Oct 9, 2023 at 11:22 AM Uwe Kleine-König
    <u.kleine-koenig@pengutronix.de> wrote:


    > ti_iodelay_remove() is only called after ti_iodelay_probe() completed
    > successfully. In this case platform_set_drvdata() was called with a
    > non-NULL argument and so platform_get_drvdata() won't return NULL.
    >
    > Simplify by removing the if block with the always false condition.
    >
    > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

    Patch applied.

    Yours,
    Linus Walleij

    \
     
     \ /
      Last update: 2023-10-10 15:37    [W:4.021 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site