[PATCH OLK-5.10 1/2] neighbour: delete redundant judgment statements