[PATCH openEuler-5.10-LTS 24/30] RDMA/hns: Init the variable at the suitable place