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