Skip to content
Snippets Groups Projects
Unverified Commit 045159f5 authored by Dario Binacchi's avatar Dario Binacchi Committed by Robert Foss
Browse files

drm/bridge: samsung-dsim: check the return value only if necessary


It was useless to check again the "ret" variable if the function
register_host() was not called.

Signed-off-by: default avatarDario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: default avatarRobert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231207161056.183442-1-dario.binacchi@amarulasolutions.com
parent 9203f672
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment