Remove useless auxiliary func in favor of inline