net/hns3: remove similar macro function definitions