Linear kinetic Sunyaev–Zel'dovich effect and void models for acceleration