Removing unnecessary var descriptor

This function returns an array, which is already returned by reference.