mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
mthca: clean up empty lines in .c and .h files
This commit is contained in:
parent
68304fdc15
commit
3cb02df9ae
4 changed files with 0 additions and 7 deletions
|
|
@ -301,7 +301,6 @@ static int mthca_cmd_post(struct mthca_dev *dev,
|
|||
return err;
|
||||
}
|
||||
|
||||
|
||||
static int mthca_status_to_errno(u8 status)
|
||||
{
|
||||
static const int trans_table[] = {
|
||||
|
|
@ -332,7 +331,6 @@ static int mthca_status_to_errno(u8 status)
|
|||
return trans_table[status];
|
||||
}
|
||||
|
||||
|
||||
static int mthca_cmd_poll(struct mthca_dev *dev,
|
||||
u64 in_param,
|
||||
u64 *out_param,
|
||||
|
|
|
|||
|
|
@ -311,7 +311,6 @@ int mthca_create_agents(struct mthca_dev *dev)
|
|||
dev->send_agent[p][q] = agent;
|
||||
}
|
||||
|
||||
|
||||
for (p = 1; p <= dev->limits.num_ports; ++p) {
|
||||
ret = mthca_update_rate(dev, p);
|
||||
if (ret) {
|
||||
|
|
|
|||
|
|
@ -713,7 +713,6 @@ static inline int mthca_check_fmr(struct mthca_fmr *fmr, u64 *page_list,
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int mthca_tavor_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
|
||||
int list_len, u64 iova)
|
||||
{
|
||||
|
|
@ -869,7 +868,6 @@ int mthca_init_mr_table(struct mthca_dev *dev)
|
|||
|
||||
if (!mthca_is_memfree(dev) &&
|
||||
(dev->mthca_flags & MTHCA_FLAG_FMR)) {
|
||||
|
||||
addr = pci_resource_start(dev->pdev, 4) +
|
||||
((pci_resource_len(dev->pdev, 4) - 1) &
|
||||
dev->mr_table.mpt_base);
|
||||
|
|
|
|||
|
|
@ -1086,7 +1086,6 @@ static int mthca_map_memfree(struct mthca_dev *dev,
|
|||
qp->qpn << dev->qp_table.rdb_shift);
|
||||
if (ret)
|
||||
goto err_eqpc;
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
@ -1218,7 +1217,6 @@ static int mthca_alloc_qp_common(struct mthca_dev *dev,
|
|||
next->nda_op = htonl((((i + 1) % qp->rq.max) <<
|
||||
qp->rq.wqe_shift) | 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
qp->sq.last = get_send_wqe(qp, qp->sq.max - 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue