[PATCH 5.15 404/620] neighbour: delete redundant judgment statements