From 08e9f64e4399f3b94808a6c1994f8e2a2ee2e72e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 14 Jan 2017 14:00:39 +0100 Subject: [PATCH] Get rid of early return in video_driver_build_info --- gfx/video_driver.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 16a4cc907c..40cfcaa5f7 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -2178,10 +2178,6 @@ bool video_driver_texture_unload(uintptr_t *id) void video_driver_build_info(video_frame_info_t *video_info) { settings_t *settings = config_get_ptr(); - - if (!video_info) - return; - video_info->refresh_rate = settings->video.refresh_rate; video_info->black_frame_insertion = settings->video.black_frame_insertion;