Remove dead inline function that doesn't compile