From 07d86a7feb5b43b3f2f5685d76599094996f984f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 22 Oct 2016 17:31:20 +0200 Subject: [PATCH] Do away with some NULL checks --- input/input_driver.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/input/input_driver.c b/input/input_driver.c index 416c62a4a8..c0976b7af1 100644 --- a/input/input_driver.c +++ b/input/input_driver.c @@ -619,9 +619,6 @@ uint64_t input_keys_pressed(void) unsigned i; uint64_t ret = 0; - if (!current_input || !current_input_data) - return ret; - if (current_input->key_pressed && check_input_driver_block_hotkey( current_input->key_pressed(current_input_data, RARCH_ENABLE_HOTKEY)))