[PATCH openEuler-1.0-LTS 1/2] neighbour: delete redundant judgment statements