[PATCH 04/30] net: hns3: remove some useless code