Remove unused inline function.