From c21f84fd9b1086baa36505b17be99d017ee3e36a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 16 May 2016 11:18:55 +0200 Subject: [PATCH] Simplify audio_convert_get_cpu_features --- audio/audio_utils.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/audio/audio_utils.c b/audio/audio_utils.c index d3bacbaf13..5b3a8bacd6 100644 --- a/audio/audio_utils.c +++ b/audio/audio_utils.c @@ -50,7 +50,6 @@ void audio_convert_s16_to_float_C(float *out, out[i] = (float)in[i] * gain; } - #if defined(__SSE2__) /** * audio_convert_s16_to_float_SSE2: @@ -231,26 +230,9 @@ void audio_convert_s16_to_float_ALLEGREX(float *out, } #endif -#ifndef RARCH_INTERNAL - -#ifdef __cplusplus -extern "C" { -#endif -retro_get_cpu_features_t perf_get_cpu_features_cb; - -#ifdef __cplusplus -} -#endif - -#endif - static unsigned audio_convert_get_cpu_features(void) { -#ifdef RARCH_INTERNAL return cpu_features_get(); -#else - return perf_get_cpu_features_cb(); -#endif } /**