ntb: clean up empty lines in .c and .h files

This commit is contained in:
Mateusz Guzik 2020-09-01 22:03:55 +00:00
parent 86e53c0789
commit 391486af75
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365192
3 changed files with 1 additions and 9 deletions

View File

@ -81,7 +81,6 @@ __FBSDID("$FreeBSD$");
MALLOC_DEFINE(M_AMD_NTB, "amd_ntb_hw", "amd_ntb_hw driver memory allocations");
static const struct amd_ntb_hw_info amd_ntb_hw_info_list[] = {
{ .vendor_id = NTB_HW_AMD_VENDOR_ID,
.device_id = NTB_HW_AMD_DEVICE_ID1,
.mw_count = 3,
@ -686,7 +685,6 @@ amd_ntb_peer_spad_write(device_t dev, unsigned int idx, uint32_t val)
return (0);
}
/*
* AMD NTB INIT
*/
@ -871,7 +869,6 @@ amd_ntb_setup_isr(struct amd_ntb_softc *ntb, uint16_t num_vectors, bool msi,
flags |= RF_SHAREABLE;
for (i = 0; i < num_vectors; i++) {
/* RID should be 0 for intx */
if (intx)
ntb->int_info[i].rid = i;
@ -911,7 +908,7 @@ static int
amd_ntb_create_msix_vec(struct amd_ntb_softc *ntb, uint32_t max_vectors)
{
uint8_t i;
ntb->msix_vec = malloc(max_vectors * sizeof(*ntb->msix_vec), M_AMD_NTB,
M_ZERO | M_WAITOK);

View File

@ -1682,7 +1682,6 @@ configure_atom_secondary_side_bars(struct ntb_softc *ntb)
}
}
/*
* When working around Xeon SDOORBELL errata by remapping remote registers in a
* MW, limit the B2B MW to half a MW. By sharing a MW, half the shared MW

View File

@ -757,8 +757,6 @@ ntb_transport_link_up(struct ntb_transport_qp *qp)
callout_reset(&qp->link_work, 0, ntb_qp_link_work, qp);
}
/* Transport Tx */
/**
@ -1204,7 +1202,6 @@ ntb_transport_link_work(void *arg)
mw->rx_size = val64;
val64 = roundup(val64, mw->xlat_align_size);
if (mw->buff_size != val64) {
rc = ntb_set_mw(nt, i, val64);
if (rc != 0) {
ntb_printf(0, "link up set mw%d fails, rc %d\n",
@ -1593,7 +1590,6 @@ ntb_send_link_down(struct ntb_transport_qp *qp)
ntb_qp_link_down_reset(qp);
}
/* List Management */
static void