[PATCH 6.6 122/152] neighbour: delete redundant judgment statements