IB/hw: Remove unneeded semicolons

Remove unneeded semicolons.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
YueHaibing 2019-01-18 11:09:00 +08:00 committed by Jason Gunthorpe
parent 14e517e4b4
commit 790b57f686
3 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -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;
}