[PATCH openEuler-5.10 036/129] net: hns3: refactor reset_prepare_general retry statement