Removed unused inline function