ralloc: Delete autofree handling.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 24 Feb 2017 02:05:16 +0000 (02:05 +0000)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 27 Feb 2017 23:46:12 +0000 (15:46 -0800)
commit63d1ebca3a6e1ec51f7f31ab9b77af0fb7e7f857
treee75a7952f0f028484f342dc40b8dd5b222db573e
parentaa8bb9fc157367a12aa83a44b627ddeed02e2711
ralloc: Delete autofree handling.

There was exactly one user of this, and I just removed it.

It also accessed an implicit global context, with no locking.  This
meant that it was only safe if all callers of ralloc_autofree_context()
held the same lock...which is a pretty terrible thing for a utility
library to impose.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/util/ralloc.c
src/util/ralloc.h