drm: bridge: it66121: Remove redundant check
ctx->next_bridge is checked for NULL twice in a row. The second conditional is redundant, so remove it. Signed-off-by: Drew Davenport <ddavenport@chromium.org> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220114064012.1670612-1-ddavenport@chromium.org
This commit is contained in:
parent
d72d84aea4
commit
1500296576
@ -936,9 +936,6 @@ static int it66121_probe(struct i2c_client *client,
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
|
||||
if (!ctx->next_bridge)
|
||||
return -EPROBE_DEFER;
|
||||
|
||||
i2c_set_clientdata(client, ctx);
|
||||
mutex_init(&ctx->lock);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user