forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/drivers/infiniband/hw/hns/hns_roce_qp.c
....@@ -114,8 +114,8 @@
114114 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp,
115115 enum hns_roce_event type)
116116 {
117
- struct ib_event event;
118117 struct ib_qp *ibqp = &hr_qp->ibqp;
118
+ struct ib_event event;
119119
120120 if (ibqp->event_handler) {
121121 event.device = ibqp->device;