From: Matt Turner Date: Sun, 15 Jun 2014 06:15:05 +0000 (-0700) Subject: mesa: Remove unused functions from perfomance query code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52a4065493febf9a7f7ed7801c90a1515526c9ad;p=mesa.git mesa: Remove unused functions from perfomance query code. Perhaps useful for debugging? Never used otherwise. Added by commit 8cf5bdad. Reviewed-by: Tapani Pälli Reviewed-by: Petri Latvala Reviewed-by: Ian Romanick --- diff --git a/src/mesa/main/performance_monitor.c b/src/mesa/main/performance_monitor.c index 9d1a6b4d807..c26eda4c63b 100644 --- a/src/mesa/main/performance_monitor.c +++ b/src/mesa/main/performance_monitor.c @@ -164,19 +164,6 @@ counterid_to_index(GLuint counterid) return counterid - 1; } -static inline GLuint -index_to_counterid(GLuint index) -{ - return index + 1; -} - -static inline bool -counterid_valid(const struct gl_perf_monitor_group *group_obj, - GLuint counterid) -{ - return get_counter(group_obj, counterid_to_index(counterid)) != NULL; -} - /*****************************************************************************/ void GLAPIENTRY