staging/rdma/hfi1: Remove blank line before close brace
Remove extra blank line before close brace to fix checkpatch check: CHECK: Blank lines aren't necessary before a close brace '}' Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
458e86ab47
commit
5161fc3ef6
|
@ -13710,7 +13710,6 @@ static void assign_cm_au_table(struct hfi1_devdata *dd, u32 cu,
|
|||
SEND_CM_LOCAL_AU_TABLE4_TO7_LOCAL_AU_TABLE6_SHIFT
|
||||
| 64ull * cu <<
|
||||
SEND_CM_LOCAL_AU_TABLE4_TO7_LOCAL_AU_TABLE7_SHIFT);
|
||||
|
||||
}
|
||||
|
||||
static void assign_local_cm_au_table(struct hfi1_devdata *dd, u8 vcu)
|
||||
|
|
|
@ -762,7 +762,6 @@ static inline void finish_packet(struct hfi1_packet *packet)
|
|||
*/
|
||||
update_usrhead(packet->rcd, packet->rcd->head, packet->updegr,
|
||||
packet->etail, rcv_intr_dynamic, packet->numpkt);
|
||||
|
||||
}
|
||||
|
||||
static inline void process_rcv_qp_work(struct hfi1_packet *packet)
|
||||
|
|
|
@ -178,7 +178,6 @@ void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup)
|
|||
/* notify IB of the link change */
|
||||
signal_ib_event(ppd, ev);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -3805,7 +3805,6 @@ static int subn_get_opa_aggregate(struct opa_smp *smp,
|
|||
return reply((struct ib_mad_hdr *)smp);
|
||||
}
|
||||
next_smp += agg_size;
|
||||
|
||||
}
|
||||
|
||||
return reply((struct ib_mad_hdr *)smp);
|
||||
|
@ -3849,7 +3848,6 @@ static int subn_set_opa_aggregate(struct opa_smp *smp,
|
|||
return reply((struct ib_mad_hdr *)smp);
|
||||
}
|
||||
next_smp += agg_size;
|
||||
|
||||
}
|
||||
|
||||
return reply((struct ib_mad_hdr *)smp);
|
||||
|
|
|
@ -316,7 +316,6 @@ do_intx:
|
|||
nvec, ret);
|
||||
*msixcnt = 0;
|
||||
hfi1_enable_intx(dd->pcidev);
|
||||
|
||||
}
|
||||
|
||||
/* return the PCIe link speed from the given link status */
|
||||
|
|
|
@ -568,7 +568,6 @@ static ssize_t show_serial(struct device *device,
|
|||
struct hfi1_devdata *dd = dd_from_dev(dev);
|
||||
|
||||
return scnprintf(buf, PAGE_SIZE, "%s", dd->serial);
|
||||
|
||||
}
|
||||
|
||||
static ssize_t store_chip_reset(struct device *device,
|
||||
|
|
|
@ -604,5 +604,4 @@ drop:
|
|||
op_err:
|
||||
hfi1_rc_error(qp, IB_WC_LOC_QP_OP_ERR);
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
|
@ -772,7 +772,6 @@ void hfi1_ud_rcv(struct hfi1_packet *packet)
|
|||
mgmt_pkey_idx = hfi1_lookup_pkey_idx(ibp, pkey);
|
||||
if (mgmt_pkey_idx < 0)
|
||||
goto drop;
|
||||
|
||||
}
|
||||
if (unlikely(qkey != qp->qkey)) {
|
||||
hfi1_bad_pqkey(ibp, OPA_TRAP_BAD_Q_KEY, qkey,
|
||||
|
@ -810,7 +809,6 @@ void hfi1_ud_rcv(struct hfi1_packet *packet)
|
|||
mgmt_pkey_idx = hfi1_lookup_pkey_idx(ibp, pkey);
|
||||
if (mgmt_pkey_idx < 0)
|
||||
goto drop;
|
||||
|
||||
}
|
||||
|
||||
if (qp->ibqp.qp_num > 1 &&
|
||||
|
|
|
@ -713,7 +713,6 @@ int hfi1_user_sdma_process_request(struct file *fp, struct iovec *iovec,
|
|||
msecs_to_jiffies(
|
||||
SDMA_IOWAIT_TIMEOUT));
|
||||
}
|
||||
|
||||
}
|
||||
*count += idx;
|
||||
return 0;
|
||||
|
@ -1194,7 +1193,6 @@ static int set_txreq_header(struct user_sdma_request *req,
|
|||
if (ret)
|
||||
return ret;
|
||||
goto done;
|
||||
|
||||
}
|
||||
|
||||
hdr->bth[2] = cpu_to_be32(
|
||||
|
|
Loading…
Reference in New Issue