Remove a useless test in length(array).