Commit 790b57f6 authored by YueHaibing's avatar YueHaibing Committed by Jason Gunthorpe

IB/hw: Remove unneeded semicolons

Remove unneeded semicolons.
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 14e517e4
......@@ -4578,7 +4578,7 @@ static int hns_roce_v2_aeq_int(struct hns_roce_dev *hr_dev,
dev_err(dev, "Unhandled event %d on EQ %d at idx %u.\n",
event_type, eq->eqn, eq->cons_index);
break;
};
}
eq->event_type = event_type;
eq->sub_type = sub_type;
......
......@@ -349,7 +349,7 @@ qedr_iw_event_handler(void *context, struct qed_iwarp_cm_event_params *params)
default:
DP_NOTICE(dev, "Unknown event received %d\n", params->event);
break;
};
}
return 0;
}
......
......@@ -2110,7 +2110,7 @@ static int qedr_update_qp_state(struct qedr_dev *dev,
default:
status = -EINVAL;
break;
};
}
break;
case QED_ROCE_QP_STATE_INIT:
switch (new_state) {
......@@ -2131,7 +2131,7 @@ static int qedr_update_qp_state(struct qedr_dev *dev,
/* Invalid state change. */
status = -EINVAL;
break;
};
}
break;
case QED_ROCE_QP_STATE_RTR:
/* RTR->XXX */
......@@ -2144,7 +2144,7 @@ static int qedr_update_qp_state(struct qedr_dev *dev,
/* Invalid state change. */
status = -EINVAL;
break;
};
}
break;
case QED_ROCE_QP_STATE_RTS:
/* RTS->XXX */
......@@ -2157,7 +2157,7 @@ static int qedr_update_qp_state(struct qedr_dev *dev,
/* Invalid state change. */
status = -EINVAL;
break;
};
}
break;
case QED_ROCE_QP_STATE_SQD:
/* SQD->XXX */
......@@ -2169,7 +2169,7 @@ static int qedr_update_qp_state(struct qedr_dev *dev,
/* Invalid state change. */
status = -EINVAL;
break;
};
}
break;
case QED_ROCE_QP_STATE_ERR:
/* ERR->XXX */
......@@ -2187,12 +2187,12 @@ static int qedr_update_qp_state(struct qedr_dev *dev,
default:
status = -EINVAL;
break;
};
}
break;
default:
status = -EINVAL;
break;
};
}
return status;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment