Revert "mesa: Fix helgrind complaint about one-time init"

This reverts commit f7102ac376.

Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7760>
This commit is contained in:
Erik Faye-Lund 2020-11-24 23:34:24 +01:00 committed by Marge Bot
parent 1f6e03c3bf
commit 8fffcbce9b
1 changed files with 2 additions and 4 deletions

View File

@ -36,7 +36,6 @@
* Thanks guys!
*/
#include "util/debug.h"
#include "main/glheader.h"
#include "main/config.h"
@ -457,7 +456,6 @@ _math_init_eval(void)
/* KW: precompute 1/x for useful x.
*/
do_once
for (i = 1; i < MAX_EVAL_ORDER; i++)
inv_tab[i] = 1.0F / i;
for (i = 1; i < MAX_EVAL_ORDER; i++)
inv_tab[i] = 1.0F / i;
}