[PATCH openEuler-5.10 038/129] net: hns3: refactor two hns3 debugfs functions