Remove unneeded promise evaluation.