Remove case when p === x.