[PATCH 6.1 550/578] neighbour: delete redundant judgment statements