summaryrefslogtreecommitdiff
path: root/drivers/video/tegra124/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra124/display.c')
-rw-r--r--drivers/video/tegra124/display.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/video/tegra124/display.c b/drivers/video/tegra124/display.c
index 2f1f0df20e..d8999c3c68 100644
--- a/drivers/video/tegra124/display.c
+++ b/drivers/video/tegra124/display.c
@@ -326,13 +326,7 @@ static int display_update_config_from_edid(struct udevice *dp_dev,
int *panel_bppp,
struct display_timing *timing)
{
- int ret;
-
- ret = display_read_timing(dp_dev, timing);
- if (ret)
- return ret;
-
- return 0;
+ return display_read_timing(dp_dev, timing);
}
static int display_init(struct udevice *dev, void *lcdbase,