Remove redundant lambda

hlint suggestion