[PATCH 5.4 207/328] neighbour: delete redundant judgment statements