alloc: remove unused debugging function.