Remove extraneous semicolons, no functional changes.
Submitted by: Marc Balmer <marc@msys.ch> MFC after: 1 week
This commit is contained in:
parent
017b01f662
commit
c2ede4b379
@ -1555,7 +1555,7 @@ ses_encode(char *b, int amt, uint8_t *ep, int elt, int elm, SesComStat *sp)
|
||||
*/
|
||||
|
||||
static int safte_getconfig(ses_softc_t *);
|
||||
static int safte_rdstat(ses_softc_t *, int);;
|
||||
static int safte_rdstat(ses_softc_t *, int);
|
||||
static int set_objstat_sel(ses_softc_t *, ses_objstat *, int);
|
||||
static int wrbuf16(ses_softc_t *, uint8_t, uint8_t, uint8_t, uint8_t, int);
|
||||
static void wrslot_stat(ses_softc_t *, int);
|
||||
@ -2257,7 +2257,7 @@ safte_rdstat(ses_softc_t *ssc, int slpflg)
|
||||
ssc->ses_objmap[oid].encstat[0] = SES_OBJSTAT_NOTAVAIL;
|
||||
ssc->ses_objmap[oid].encstat[1] = 0;
|
||||
ssc->ses_objmap[oid].encstat[2] = sdata[r];
|
||||
ssc->ses_objmap[oid].encstat[3] = 0;;
|
||||
ssc->ses_objmap[oid].encstat[3] = 0;
|
||||
ssc->ses_objmap[oid++].svalid = 1;
|
||||
r++;
|
||||
}
|
||||
|
@ -429,7 +429,7 @@ targbhdtor(struct cam_periph *periph)
|
||||
|
||||
switch (softc->init_level) {
|
||||
case 0:
|
||||
panic("targdtor - impossible init level");;
|
||||
panic("targdtor - impossible init level");
|
||||
case 1:
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
|
@ -493,7 +493,7 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
|
||||
return (error);
|
||||
if (f == NULL) {
|
||||
td->td_retval[0] = 0;
|
||||
return (error);;
|
||||
return (error);
|
||||
}
|
||||
td->td_retval[0] = futex_wake(f, args->val);
|
||||
futex_put(f, NULL);
|
||||
|
@ -553,7 +553,7 @@ aac_alloc(struct aac_softc *sc)
|
||||
0, /* flags */
|
||||
NULL, NULL, /* No locking needed */
|
||||
&sc->aac_fib_dmat)) {
|
||||
device_printf(sc->aac_dev, "can't allocate FIB DMA tag\n");;
|
||||
device_printf(sc->aac_dev, "can't allocate FIB DMA tag\n");
|
||||
return (ENOMEM);
|
||||
}
|
||||
|
||||
|
@ -763,7 +763,7 @@ agp_allocate_user(device_t dev, agp_allocate *alloc)
|
||||
static int
|
||||
agp_deallocate_user(device_t dev, int id)
|
||||
{
|
||||
struct agp_memory *mem = agp_find_memory(dev, id);;
|
||||
struct agp_memory *mem = agp_find_memory(dev, id);
|
||||
|
||||
if (mem) {
|
||||
AGP_FREE_MEMORY(dev, mem);
|
||||
|
@ -1657,7 +1657,7 @@ amdhandlemsgreject(struct amd_softc *amd)
|
||||
tinfo_sync_period[pDCB->SyncPeriod - 4];
|
||||
pDCB->tinfo.goal.offset = pDCB->SyncOffset;
|
||||
pDCB->tinfo.current.period =
|
||||
tinfo_sync_period[pDCB->SyncPeriod - 4];;
|
||||
tinfo_sync_period[pDCB->SyncPeriod - 4];
|
||||
pDCB->tinfo.current.offset = pDCB->SyncOffset;
|
||||
|
||||
/*
|
||||
|
@ -221,7 +221,7 @@ amr_attach(struct amr_softc *sc)
|
||||
sc->amr_submit_command = amr_std_submit_command;
|
||||
sc->amr_get_work = amr_std_get_work;
|
||||
sc->amr_poll_command = amr_std_poll_command;
|
||||
amr_std_attach_mailbox(sc);;
|
||||
amr_std_attach_mailbox(sc);
|
||||
}
|
||||
|
||||
#ifdef AMR_BOARD_INIT
|
||||
|
@ -1940,7 +1940,7 @@ static void arcmsr_handle_virtual_command(struct AdapterControlBlock *acb,
|
||||
switch (pccb->csio.cdb_io.cdb_bytes[0]) {
|
||||
case INQUIRY: {
|
||||
unsigned char inqdata[36];
|
||||
char *buffer=pccb->csio.data_ptr;;
|
||||
char *buffer=pccb->csio.data_ptr;
|
||||
|
||||
if (pccb->ccb_h.target_lun) {
|
||||
pccb->ccb_h.status |= CAM_SEL_TIMEOUT;
|
||||
|
@ -407,7 +407,7 @@ ata_raid_strategy(struct bio *bp)
|
||||
if (rdp->status & AR_S_REBUILDING)
|
||||
blk = ((lba / rdp->interleave) * rdp->width) * rdp->interleave +
|
||||
(rdp->interleave * (drv % rdp->width)) +
|
||||
lba % rdp->interleave;;
|
||||
lba % rdp->interleave;
|
||||
|
||||
if (bp->bio_cmd == BIO_READ) {
|
||||
int src_online =
|
||||
|
@ -656,9 +656,9 @@ ata_ahci_pm_write(device_t dev, int port, int reg, u_int32_t value)
|
||||
ctp->cfis[3] = reg;
|
||||
ctp->cfis[7] = port | ATA_D_LBA;
|
||||
ctp->cfis[12] = value & 0xff;
|
||||
ctp->cfis[4] = (value >> 8) & 0xff;;
|
||||
ctp->cfis[5] = (value >> 16) & 0xff;;
|
||||
ctp->cfis[6] = (value >> 24) & 0xff;;
|
||||
ctp->cfis[4] = (value >> 8) & 0xff;
|
||||
ctp->cfis[5] = (value >> 16) & 0xff;
|
||||
ctp->cfis[6] = (value >> 24) & 0xff;
|
||||
ctp->cfis[15] = ATA_A_4BIT;
|
||||
|
||||
if (ata_ahci_issue_cmd(dev, 0, 100)) {
|
||||
|
@ -716,9 +716,9 @@ ata_siiprb_pm_write(device_t dev, int port, int reg, u_int32_t value)
|
||||
prb->fis[3] = reg;
|
||||
prb->fis[7] = port;
|
||||
prb->fis[12] = value & 0xff;
|
||||
prb->fis[4] = (value >> 8) & 0xff;;
|
||||
prb->fis[5] = (value >> 16) & 0xff;;
|
||||
prb->fis[6] = (value >> 24) & 0xff;;
|
||||
prb->fis[4] = (value >> 8) & 0xff;
|
||||
prb->fis[5] = (value >> 16) & 0xff;
|
||||
prb->fis[6] = (value >> 24) & 0xff;
|
||||
if (ata_siiprb_issue_cmd(dev)) {
|
||||
device_printf(dev, "error writing PM port\n");
|
||||
return ATA_E_ABORT;
|
||||
|
@ -136,7 +136,7 @@ static void ar5211GetLowerUpperPcdacs(uint16_t pcdac,
|
||||
uint16_t channel, const PCDACS_EEPROM *pSrcStruct,
|
||||
uint16_t *pLowerPcdac, uint16_t *pUpperPcdac);
|
||||
|
||||
static void ar5211SetRfgain(struct ath_hal *, const GAIN_VALUES *);;
|
||||
static void ar5211SetRfgain(struct ath_hal *, const GAIN_VALUES *);
|
||||
static void ar5211RequestRfgain(struct ath_hal *);
|
||||
static HAL_BOOL ar5211InvalidGainReadback(struct ath_hal *, GAIN_VALUES *);
|
||||
static HAL_BOOL ar5211IsGainAdjustNeeded(struct ath_hal *, const GAIN_VALUES *);
|
||||
|
@ -76,7 +76,7 @@ ar5212GetPendingInterrupts(struct ath_hal *ah, HAL_INT *masked)
|
||||
isr = OS_REG_READ(ah, AR_ISR_RAC);
|
||||
if (isr == 0xffffffff) {
|
||||
*masked = 0;
|
||||
return AH_FALSE;;
|
||||
return AH_FALSE;
|
||||
}
|
||||
|
||||
*masked = isr & HAL_INT_COMMON;
|
||||
|
@ -104,7 +104,7 @@ ar5416GetPendingInterrupts(struct ath_hal *ah, HAL_INT *masked)
|
||||
isr = OS_REG_READ(ah, AR_ISR_RAC);
|
||||
if (isr == 0xffffffff) {
|
||||
*masked = 0;
|
||||
return AH_FALSE;;
|
||||
return AH_FALSE;
|
||||
}
|
||||
|
||||
*masked = isr & HAL_INT_COMMON;
|
||||
|
@ -331,7 +331,7 @@ bti2c_smb_readb(device_t dev, u_char slave, char cmd, char *byte)
|
||||
/* clear status bits */
|
||||
OUTL(sc,BKTR_INT_STAT, (BT848_INT_RACK | BT848_INT_I2CDONE));
|
||||
|
||||
OUTL(sc,BKTR_I2C_DATA_CTL, ((slave & 0xff) << 24) | (u_char)cmd);;
|
||||
OUTL(sc,BKTR_I2C_DATA_CTL, ((slave & 0xff) << 24) | (u_char)cmd);
|
||||
|
||||
BTI2C_DEBUG(printf("r%lx/", (u_long)(((slave & 0xff) << 24) | (u_char)cmd)));
|
||||
|
||||
|
@ -475,7 +475,7 @@ int
|
||||
cs_attach(device_t dev)
|
||||
{
|
||||
int error, media=0;
|
||||
struct cs_softc *sc = device_get_softc(dev);;
|
||||
struct cs_softc *sc = device_get_softc(dev);
|
||||
struct ifnet *ifp;
|
||||
|
||||
sc->dev = dev;
|
||||
|
@ -152,7 +152,7 @@ struct rx_desc {
|
||||
uint32_t len_gen;
|
||||
uint32_t gen2;
|
||||
uint32_t addr_hi;
|
||||
} __packed;;
|
||||
} __packed;
|
||||
|
||||
struct rsp_desc { /* response queue descriptor */
|
||||
struct rss_header rss_hdr;
|
||||
|
@ -2290,7 +2290,7 @@ tulip_identify_asante_nic(tulip_softc_t * const sc)
|
||||
mi->mi_gpr_length = 0;
|
||||
mi->mi_gpr_offset = 0;
|
||||
mi->mi_reset_length = 0;
|
||||
mi->mi_reset_offset = 0;;
|
||||
mi->mi_reset_offset = 0;
|
||||
|
||||
mi->mi_phyaddr = TULIP_MII_NOPHY;
|
||||
for (idx = 20; idx > 0 && mi->mi_phyaddr == TULIP_MII_NOPHY; idx--) {
|
||||
|
@ -4346,7 +4346,7 @@ em_free_receive_structures(struct adapter *adapter)
|
||||
static int
|
||||
em_rxeof(struct adapter *adapter, int count)
|
||||
{
|
||||
struct ifnet *ifp = adapter->ifp;;
|
||||
struct ifnet *ifp = adapter->ifp;
|
||||
struct mbuf *mp;
|
||||
u8 status, accept_frame = 0, eop = 0;
|
||||
u16 len, desc_len, prev_len_adj;
|
||||
|
@ -858,7 +858,7 @@ fatm_getprom(struct fatm_softc *sc)
|
||||
NEXT_QUEUE_ENTRY(sc->cmdqueue.head, FATM_CMD_QLEN);
|
||||
|
||||
q->error = 0;
|
||||
q->cb = NULL;;
|
||||
q->cb = NULL;
|
||||
H_SETSTAT(q->q.statp, FATM_STAT_PENDING);
|
||||
H_SYNCSTAT_PREWRITE(sc, q->q.statp);
|
||||
|
||||
|
@ -1573,7 +1573,7 @@ END_DEBUG
|
||||
bcopy(&sbp_cmd_status->s_keydep[0],
|
||||
&sense->sense_key_spec[0], 3);
|
||||
|
||||
ocb->ccb->csio.scsi_status = sbp_cmd_status->status;;
|
||||
ocb->ccb->csio.scsi_status = sbp_cmd_status->status;
|
||||
ocb->ccb->ccb_h.status = CAM_SCSI_STATUS_ERROR
|
||||
| CAM_AUTOSNS_VALID;
|
||||
/*
|
||||
@ -2148,7 +2148,7 @@ sbp_free_target(struct sbp_target *target)
|
||||
}
|
||||
STAILQ_INIT(&target->xferlist);
|
||||
free(target->luns, M_SBP);
|
||||
target->num_lun = 0;;
|
||||
target->num_lun = 0;
|
||||
target->luns = NULL;
|
||||
target->fwdev = NULL;
|
||||
}
|
||||
@ -2318,7 +2318,7 @@ sbp_timeout(void *arg)
|
||||
sbp_cam_detach_target(target);
|
||||
if (target->luns != NULL)
|
||||
free(target->luns, M_SBP);
|
||||
target->num_lun = 0;;
|
||||
target->num_lun = 0;
|
||||
target->luns = NULL;
|
||||
target->fwdev = NULL;
|
||||
#endif
|
||||
|
@ -836,7 +836,7 @@ hatm_init_rx_buffer_pool(struct hatm_softc *sc,
|
||||
uint32_t lbuf_addr; /* address of current buffer */
|
||||
u_int i;
|
||||
|
||||
row_size = sc->bytes_per_row;;
|
||||
row_size = sc->bytes_per_row;
|
||||
row_addr = start * row_size;
|
||||
lbuf_size = sc->cells_per_lbuf * 48;
|
||||
lbufs_per_row = sc->cells_per_row / sc->cells_per_lbuf;
|
||||
@ -889,7 +889,7 @@ hatm_init_tx_buffer_pool(struct hatm_softc *sc,
|
||||
uint32_t lbuf_addr; /* address of current buffer */
|
||||
u_int i;
|
||||
|
||||
row_size = sc->bytes_per_row;;
|
||||
row_size = sc->bytes_per_row;
|
||||
row_addr = start * row_size;
|
||||
lbuf_size = sc->cells_per_lbuf * 48;
|
||||
lbufs_per_row = sc->cells_per_row / sc->cells_per_lbuf;
|
||||
|
@ -1341,7 +1341,7 @@ init_adapter(IAL_ADAPTER_T *pAdapter)
|
||||
#endif
|
||||
&pAdapter->io_dma_parent /* tag */))
|
||||
{
|
||||
return ENXIO;;
|
||||
return ENXIO;
|
||||
}
|
||||
|
||||
|
||||
|
@ -205,7 +205,7 @@ ndisusb_detach(device_t self)
|
||||
{
|
||||
int i;
|
||||
struct ndis_softc *sc = device_get_softc(self);
|
||||
struct ndisusb_ep *ne;;
|
||||
struct ndisusb_ep *ne;
|
||||
|
||||
sc->ndisusb_status |= NDISUSB_STATUS_DETACH;
|
||||
|
||||
|
@ -399,7 +399,7 @@ ism_recv(isc_session_t *sp, pduq_t *pq)
|
||||
if(sp->flags & ISC_STALLED) {
|
||||
sdebug(4, "window opened: max=0x%x exp=0x%x opcode=0x%x cmd=0x%x cws=%d.",
|
||||
sn->maxCmd, sn->expCmd, bhs->opcode, sn->cmd, sp->cws);
|
||||
sp->flags &= ~ISC_STALLED;;
|
||||
sp->flags &= ~ISC_STALLED;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6658,8 +6658,8 @@ isp_mbox_continue(ispsoftc_t *isp)
|
||||
ptr = isp->isp_mbxworkp;
|
||||
switch (isp->isp_lastmbxcmd) {
|
||||
case MBOX_WRITE_RAM_WORD:
|
||||
mbs.param[1] = isp->isp_mbxwrk1++;;
|
||||
mbs.param[2] = *ptr++;;
|
||||
mbs.param[1] = isp->isp_mbxwrk1++;
|
||||
mbs.param[2] = *ptr++;
|
||||
break;
|
||||
case MBOX_READ_RAM_WORD:
|
||||
*ptr++ = isp->isp_mboxtmp[2];
|
||||
@ -6669,7 +6669,7 @@ isp_mbox_continue(ispsoftc_t *isp)
|
||||
offset = isp->isp_mbxwrk1;
|
||||
offset |= isp->isp_mbxwrk8 << 16;
|
||||
|
||||
mbs.param[2] = *ptr++;;
|
||||
mbs.param[2] = *ptr++;
|
||||
mbs.param[1] = offset;
|
||||
mbs.param[8] = offset >> 16;
|
||||
isp->isp_mbxwrk1 = ++offset;
|
||||
|
@ -670,7 +670,7 @@ isp_clear_commands(ispsoftc_t *isp)
|
||||
} else {
|
||||
ct_entry_t *ctio = (ct_entry_t *) local;
|
||||
ctio->ct_syshandle = handle & 0xffff;
|
||||
ctio->ct_status = CT_HBA_RESET & 0xff;;
|
||||
ctio->ct_status = CT_HBA_RESET & 0xff;
|
||||
ctio->ct_header.rqs_entry_type = RQSTYPE_CTIO;
|
||||
}
|
||||
isp_async(isp, ISPASYNC_TARGET_ACTION, local);
|
||||
|
@ -4743,7 +4743,7 @@ static void
|
||||
ixgbe_reinit_fdir(void *context, int pending)
|
||||
{
|
||||
struct adapter *adapter = context;
|
||||
struct ifnet *ifp = adapter->ifp;;
|
||||
struct ifnet *ifp = adapter->ifp;
|
||||
|
||||
if (adapter->fdir_reinit != 1) /* Shouldn't happen */
|
||||
return;
|
||||
@ -4763,7 +4763,7 @@ ixgbe_reinit_fdir(void *context, int pending)
|
||||
static void
|
||||
ixgbe_update_stats_counters(struct adapter *adapter)
|
||||
{
|
||||
struct ifnet *ifp = adapter->ifp;;
|
||||
struct ifnet *ifp = adapter->ifp;
|
||||
struct ixgbe_hw *hw = &adapter->hw;
|
||||
u32 missed_rx = 0, bprc, lxon, lxoff, total;
|
||||
u64 total_missed_rx = 0;
|
||||
|
@ -2108,7 +2108,7 @@ malo_rx_proc(void *arg, int npending)
|
||||
* payload prior to constructing the header.
|
||||
*/
|
||||
m = bf->bf_m;
|
||||
data = mtod(m, uint8_t *);;
|
||||
data = mtod(m, uint8_t *);
|
||||
hdrlen = ieee80211_anyhdrsize(data + sizeof(uint16_t));
|
||||
off = sizeof(uint16_t) + sizeof(struct ieee80211_frame_addr4);
|
||||
|
||||
|
@ -1150,7 +1150,7 @@ mge_intr_tx_locked(struct mge_softc *sc)
|
||||
break;
|
||||
|
||||
sc->tx_desc_used_idx =
|
||||
(++sc->tx_desc_used_idx) % MGE_TX_DESC_NUM;;
|
||||
(++sc->tx_desc_used_idx) % MGE_TX_DESC_NUM;
|
||||
sc->tx_desc_used_count--;
|
||||
|
||||
/* Update collision statistics */
|
||||
|
@ -3173,23 +3173,23 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
bytes = rx_ring_entries * sizeof (*ss->rx_small.shadow);
|
||||
ss->rx_small.shadow = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
|
||||
if (ss->rx_small.shadow == NULL)
|
||||
return err;;
|
||||
return err;
|
||||
|
||||
bytes = rx_ring_entries * sizeof (*ss->rx_big.shadow);
|
||||
ss->rx_big.shadow = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
|
||||
if (ss->rx_big.shadow == NULL)
|
||||
return err;;
|
||||
return err;
|
||||
|
||||
/* allocate the rx host info rings */
|
||||
bytes = rx_ring_entries * sizeof (*ss->rx_small.info);
|
||||
ss->rx_small.info = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
|
||||
if (ss->rx_small.info == NULL)
|
||||
return err;;
|
||||
return err;
|
||||
|
||||
bytes = rx_ring_entries * sizeof (*ss->rx_big.info);
|
||||
ss->rx_big.info = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
|
||||
if (ss->rx_big.info == NULL)
|
||||
return err;;
|
||||
return err;
|
||||
|
||||
/* allocate the rx busdma resources */
|
||||
err = bus_dma_tag_create(sc->parent_dmat, /* parent */
|
||||
@ -3207,7 +3207,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
if (err != 0) {
|
||||
device_printf(sc->dev, "Err %d allocating rx_small dmat\n",
|
||||
err);
|
||||
return err;;
|
||||
return err;
|
||||
}
|
||||
|
||||
err = bus_dma_tag_create(sc->parent_dmat, /* parent */
|
||||
@ -3234,7 +3234,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
if (err != 0) {
|
||||
device_printf(sc->dev, "Err %d allocating rx_big dmat\n",
|
||||
err);
|
||||
return err;;
|
||||
return err;
|
||||
}
|
||||
for (i = 0; i <= ss->rx_small.mask; i++) {
|
||||
err = bus_dmamap_create(ss->rx_small.dmat, 0,
|
||||
@ -3242,7 +3242,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
if (err != 0) {
|
||||
device_printf(sc->dev, "Err %d rx_small dmamap\n",
|
||||
err);
|
||||
return err;;
|
||||
return err;
|
||||
}
|
||||
}
|
||||
err = bus_dmamap_create(ss->rx_small.dmat, 0,
|
||||
@ -3250,7 +3250,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
if (err != 0) {
|
||||
device_printf(sc->dev, "Err %d extra rx_small dmamap\n",
|
||||
err);
|
||||
return err;;
|
||||
return err;
|
||||
}
|
||||
|
||||
for (i = 0; i <= ss->rx_big.mask; i++) {
|
||||
@ -3259,7 +3259,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
if (err != 0) {
|
||||
device_printf(sc->dev, "Err %d rx_big dmamap\n",
|
||||
err);
|
||||
return err;;
|
||||
return err;
|
||||
}
|
||||
}
|
||||
err = bus_dmamap_create(ss->rx_big.dmat, 0,
|
||||
@ -3267,7 +3267,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
if (err != 0) {
|
||||
device_printf(sc->dev, "Err %d extra rx_big dmamap\n",
|
||||
err);
|
||||
return err;;
|
||||
return err;
|
||||
}
|
||||
|
||||
/* now allocate TX resouces */
|
||||
@ -3287,7 +3287,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
sizeof (*ss->tx.req_list) * (ss->tx.max_desc + 4);
|
||||
ss->tx.req_bytes = malloc(bytes, M_DEVBUF, M_WAITOK);
|
||||
if (ss->tx.req_bytes == NULL)
|
||||
return err;;
|
||||
return err;
|
||||
/* ensure req_list entries are aligned to 8 bytes */
|
||||
ss->tx.req_list = (mcp_kreq_ether_send_t *)
|
||||
((unsigned long)(ss->tx.req_bytes + 7) & ~7UL);
|
||||
@ -3297,13 +3297,13 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
ss->tx.seg_list = (bus_dma_segment_t *)
|
||||
malloc(bytes, M_DEVBUF, M_WAITOK);
|
||||
if (ss->tx.seg_list == NULL)
|
||||
return err;;
|
||||
return err;
|
||||
|
||||
/* allocate the tx host info ring */
|
||||
bytes = tx_ring_entries * sizeof (*ss->tx.info);
|
||||
ss->tx.info = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
|
||||
if (ss->tx.info == NULL)
|
||||
return err;;
|
||||
return err;
|
||||
|
||||
/* allocate the tx busdma resources */
|
||||
err = bus_dma_tag_create(sc->parent_dmat, /* parent */
|
||||
@ -3322,7 +3322,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
if (err != 0) {
|
||||
device_printf(sc->dev, "Err %d allocating tx dmat\n",
|
||||
err);
|
||||
return err;;
|
||||
return err;
|
||||
}
|
||||
|
||||
/* now use these tags to setup dmamaps for each slot
|
||||
@ -3333,7 +3333,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
|
||||
if (err != 0) {
|
||||
device_printf(sc->dev, "Err %d tx dmamap\n",
|
||||
err);
|
||||
return err;;
|
||||
return err;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
@ -381,7 +381,7 @@ patm_feed_lbufs(struct patm_softc *sc)
|
||||
static void
|
||||
patm_intr_tsif(struct patm_softc *sc)
|
||||
{
|
||||
struct idt_tsqe *tsqe = sc->tsq_next;;
|
||||
struct idt_tsqe *tsqe = sc->tsq_next;
|
||||
struct idt_tsqe *prev = NULL;
|
||||
uint32_t stamp;
|
||||
|
||||
|
@ -140,7 +140,7 @@ pdq_eisa_probe (dev)
|
||||
u_int32_t maddr;
|
||||
u_int32_t msize;
|
||||
|
||||
u_int32_t eisa_id = eisa_get_id(dev);;
|
||||
u_int32_t eisa_id = eisa_get_id(dev);
|
||||
|
||||
desc = pdq_eisa_match(eisa_id);
|
||||
if (!desc) {
|
||||
|
@ -1902,7 +1902,7 @@ safe_init_board(struct safe_softc *sc)
|
||||
{
|
||||
u_int32_t v, dwords;
|
||||
|
||||
v = READ_REG(sc, SAFE_PE_DMACFG);;
|
||||
v = READ_REG(sc, SAFE_PE_DMACFG);
|
||||
v &=~ SAFE_PE_DMACFG_PEMODE;
|
||||
v |= SAFE_PE_DMACFG_FSENA /* failsafe enable */
|
||||
| SAFE_PE_DMACFG_GPRPCI /* gather ring on PCI */
|
||||
|
@ -353,7 +353,7 @@ m3_wrcd(kobj_t kobj, void *devinfo, int regno, u_int32_t data)
|
||||
struct sc_info *sc = (struct sc_info *)devinfo;
|
||||
if (m3_wait(sc)) {
|
||||
device_printf(sc->dev, "m3_wrcd timed out.\n");
|
||||
return -1;;
|
||||
return -1;
|
||||
}
|
||||
m3_wr_2(sc, CODEC_DATA, data);
|
||||
m3_wr_1(sc, CODEC_COMMAND, regno & 0x7f);
|
||||
|
@ -1125,7 +1125,7 @@ ste_attach(device_t dev)
|
||||
if (ste_read_eeprom(sc, eaddr,
|
||||
STE_EEADDR_NODE0, 3, 0)) {
|
||||
device_printf(dev, "failed to read station address\n");
|
||||
error = ENXIO;;
|
||||
error = ENXIO;
|
||||
goto fail;
|
||||
}
|
||||
ste_sysctl_node(sc);
|
||||
|
@ -2770,7 +2770,7 @@ trm_DoingSRB_Done(PACB pACB)
|
||||
xpt_done(pccb);
|
||||
psrb = psrb2;
|
||||
}
|
||||
pdcb->GoingSRBCnt = 0;;
|
||||
pdcb->GoingSRBCnt = 0;
|
||||
pdcb->pGoingSRB = NULL;
|
||||
pdcb = pdcb->pNextDCB;
|
||||
}
|
||||
|
@ -1799,7 +1799,7 @@ musbotg_init(struct musbotg_softc *sc)
|
||||
MUSB2_WRITE_1(sc, MUSB2_REG_EPINDEX, temp);
|
||||
|
||||
fsize = MUSB2_READ_1(sc, MUSB2_REG_FSIZE);
|
||||
frx = (fsize & MUSB2_MASK_RX_FSIZE) / 16;;
|
||||
frx = (fsize & MUSB2_MASK_RX_FSIZE) / 16;
|
||||
ftx = (fsize & MUSB2_MASK_TX_FSIZE);
|
||||
|
||||
DPRINTF("Endpoint %u FIFO size: IN=%u, OUT=%u, DYN=%d\n",
|
||||
|
@ -3036,7 +3036,7 @@ umass_atapi_transform(struct umass_softc *sc, uint8_t *cmd_ptr,
|
||||
case 0xad: /* READ_DVD_STRUCTURE */
|
||||
case 0xbb: /* SET_CD_SPEED */
|
||||
case 0xe5: /* READ_TRACK_INFO_PHILIPS */
|
||||
break;;
|
||||
break;
|
||||
|
||||
case READ_12:
|
||||
case WRITE_12:
|
||||
@ -3044,7 +3044,7 @@ umass_atapi_transform(struct umass_softc *sc, uint8_t *cmd_ptr,
|
||||
DPRINTF(sc, UDMASS_SCSI, "Unsupported ATAPI "
|
||||
"command 0x%02x - trying anyway\n",
|
||||
cmd_ptr[0]);
|
||||
break;;
|
||||
break;
|
||||
}
|
||||
|
||||
bcopy(cmd_ptr, sc->sc_transfer.cmd_data, cmd_len);
|
||||
|
@ -1117,7 +1117,7 @@ _xfs_strategy(
|
||||
} */ *ap)
|
||||
{
|
||||
daddr_t blkno;
|
||||
struct buf *bp;;
|
||||
struct buf *bp;
|
||||
struct bufobj *bo;
|
||||
struct vnode *vp;
|
||||
struct xfs_mount *xmp;
|
||||
|
@ -480,7 +480,7 @@ pnp_create_devices(device_t parent, pnp_id *p, int csn,
|
||||
}
|
||||
resinfo = resp;
|
||||
resp += PNP_SRES_LEN(tag);
|
||||
scanning -= PNP_SRES_LEN(tag);;
|
||||
scanning -= PNP_SRES_LEN(tag);
|
||||
|
||||
switch (PNP_SRES_NUM(tag)) {
|
||||
case PNP_TAG_LOGICAL_DEVICE:
|
||||
|
@ -452,7 +452,7 @@ parse_term(struct fail_point_entries *ents, char *p)
|
||||
} else if (*p == '*') {
|
||||
if (!units || decimal)
|
||||
return 0;
|
||||
ent->fe_count = units;;
|
||||
ent->fe_count = units;
|
||||
|
||||
} else {
|
||||
return 0;
|
||||
@ -497,7 +497,7 @@ parse_number(int *out_units, int *out_decimal, char *p)
|
||||
|
||||
/* whole part */
|
||||
old_p = p;
|
||||
*out_units = strtol(p, &p, 10);;
|
||||
*out_units = strtol(p, &p, 10);
|
||||
if (p == old_p && *p != '.')
|
||||
return 0;
|
||||
|
||||
|
@ -500,7 +500,7 @@ firmware_modevent(module_t mod, int type, void *unused)
|
||||
mtx_lock(&firmware_mtx);
|
||||
for (i = 0; i < FIRMWARE_MAX; i++) {
|
||||
fp = &firmware_table[i];
|
||||
fp->flags |= FW_UNLOAD;;
|
||||
fp->flags |= FW_UNLOAD;
|
||||
}
|
||||
mtx_unlock(&firmware_mtx);
|
||||
taskqueue_enqueue(firmware_tq, &firmware_unload_task);
|
||||
|
@ -528,7 +528,7 @@ admsw_attach(device_t dev)
|
||||
ifmedia_add(&sc->sc_ifmedia[i], IFM_ETHER|IFM_AUTO, 0, NULL);
|
||||
ifmedia_set(&sc->sc_ifmedia[i], IFM_ETHER|IFM_AUTO);
|
||||
|
||||
ifp = sc->sc_ifnet[i] = if_alloc(IFT_ETHER);;
|
||||
ifp = sc->sc_ifnet[i] = if_alloc(IFT_ETHER);
|
||||
|
||||
/* Setup interface parameters */
|
||||
ifp->if_softc = sc;
|
||||
|
@ -105,7 +105,7 @@ static int
|
||||
elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data,
|
||||
int type, int local, elf_lookup_fn lookup)
|
||||
{
|
||||
Elf_Addr *where = (Elf_Addr *)NULL;;
|
||||
Elf_Addr *where = (Elf_Addr *)NULL;
|
||||
Elf_Addr addr;
|
||||
Elf_Addr addend = (Elf_Addr)0;
|
||||
Elf_Word rtype = (Elf_Word)0, symidx;
|
||||
|
@ -404,7 +404,7 @@ ipv4_flow_lookup_hash_internal(struct mbuf *m, struct route *ro,
|
||||
if (*flags & FL_HASH_PORTS)
|
||||
goto noop;
|
||||
/* no port - hence not a protocol we care about */
|
||||
break;;
|
||||
break;
|
||||
|
||||
}
|
||||
*protop = proto;
|
||||
|
@ -1739,7 +1739,7 @@ ieee80211_node_delucastkey(struct ieee80211_node *ni)
|
||||
status = ieee80211_crypto_delkey(ni->ni_vap, &ni->ni_ucastkey);
|
||||
if (nt->nt_keyixmap != NULL && keyix < nt->nt_keyixmax) {
|
||||
nikey = nt->nt_keyixmap[keyix];
|
||||
nt->nt_keyixmap[keyix] = NULL;;
|
||||
nt->nt_keyixmap[keyix] = NULL;
|
||||
}
|
||||
}
|
||||
if (!isowned)
|
||||
|
@ -2136,7 +2136,7 @@ void
|
||||
SetProtocolFlags(struct alias_link *lnk, int pflags)
|
||||
{
|
||||
|
||||
lnk->pflags = pflags;;
|
||||
lnk->pflags = pflags;
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -158,7 +158,7 @@ _attach_handler(struct proto_handler *p)
|
||||
static int
|
||||
_detach_handler(struct proto_handler *p)
|
||||
{
|
||||
struct proto_handler *b, *b_tmp;;
|
||||
struct proto_handler *b, *b_tmp;
|
||||
|
||||
LIBALIAS_WLOCK_ASSERT();
|
||||
LIST_FOREACH_SAFE(b, &handler_chain, entries, b_tmp) {
|
||||
|
@ -2224,7 +2224,7 @@ sctp_asconf_iterator_stcb(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
||||
}
|
||||
if (stcb->asoc.ipv4_local_scope == 0 &&
|
||||
IN4_ISPRIVATE_ADDRESS(&sin->sin_addr)) {
|
||||
continue;;
|
||||
continue;
|
||||
}
|
||||
if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) &&
|
||||
SCTP_IPV6_V6ONLY(inp6)) {
|
||||
|
@ -4382,7 +4382,7 @@ sctp_add_to_readq(struct sctp_inpcb *inp,
|
||||
m = SCTP_BUF_NEXT(prev);
|
||||
}
|
||||
if (m == NULL) {
|
||||
control->tail_mbuf = prev;;
|
||||
control->tail_mbuf = prev;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
@ -1332,7 +1332,7 @@ bootpc_compose_query(struct bootpc_ifcontext *ifctx,
|
||||
*vendp++ = TAG_VENDOR_INDENTIFIER;
|
||||
*vendp++ = vendor_client_len;
|
||||
memcpy(vendp, vendor_client, vendor_client_len);
|
||||
vendp += vendor_client_len;;
|
||||
vendp += vendor_client_len;
|
||||
ifctx->dhcpquerytype = DHCP_NOMSG;
|
||||
switch (ifctx->state) {
|
||||
case IF_DHCP_UNRESOLVED:
|
||||
|
@ -3992,7 +3992,7 @@ ncr_action (struct cam_sim *sim, union ccb *ccb)
|
||||
msgptr[msglen++] = MSG_EXT_SDTR_LEN;
|
||||
msgptr[msglen++] = MSG_EXT_SDTR;
|
||||
msgptr[msglen++] = tp->tinfo.goal.period;
|
||||
msgptr[msglen++] = tp->tinfo.goal.offset;;
|
||||
msgptr[msglen++] = tp->tinfo.goal.offset;
|
||||
if (DEBUG_FLAGS & DEBUG_NEGO) {
|
||||
PRINT_ADDR(ccb);
|
||||
printf ("sync msgout: ");
|
||||
|
@ -922,7 +922,7 @@ moea_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend)
|
||||
thread0.td_kstack = va;
|
||||
thread0.td_kstack_pages = KSTACK_PAGES;
|
||||
for (i = 0; i < KSTACK_PAGES; i++) {
|
||||
moea_kenter(mmup, va, pa);;
|
||||
moea_kenter(mmup, va, pa);
|
||||
pa += PAGE_SIZE;
|
||||
va += PAGE_SIZE;
|
||||
}
|
||||
@ -935,7 +935,7 @@ moea_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend)
|
||||
va = virtual_avail;
|
||||
virtual_avail += round_page(MSGBUF_SIZE);
|
||||
while (va < virtual_avail) {
|
||||
moea_kenter(mmup, va, pa);;
|
||||
moea_kenter(mmup, va, pa);
|
||||
pa += PAGE_SIZE;
|
||||
va += PAGE_SIZE;
|
||||
}
|
||||
@ -948,7 +948,7 @@ moea_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend)
|
||||
va = virtual_avail;
|
||||
virtual_avail += DPCPU_SIZE;
|
||||
while (va < virtual_avail) {
|
||||
moea_kenter(mmup, va, pa);;
|
||||
moea_kenter(mmup, va, pa);
|
||||
pa += PAGE_SIZE;
|
||||
va += PAGE_SIZE;
|
||||
}
|
||||
|
@ -1019,7 +1019,7 @@ moea64_bridge_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernele
|
||||
thread0.td_kstack = va;
|
||||
thread0.td_kstack_pages = KSTACK_PAGES;
|
||||
for (i = 0; i < KSTACK_PAGES; i++) {
|
||||
moea64_kenter(mmup, va, pa);;
|
||||
moea64_kenter(mmup, va, pa);
|
||||
pa += PAGE_SIZE;
|
||||
va += PAGE_SIZE;
|
||||
}
|
||||
@ -1032,7 +1032,7 @@ moea64_bridge_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernele
|
||||
va = virtual_avail;
|
||||
virtual_avail += round_page(MSGBUF_SIZE);
|
||||
while (va < virtual_avail) {
|
||||
moea64_kenter(mmup, va, pa);;
|
||||
moea64_kenter(mmup, va, pa);
|
||||
pa += PAGE_SIZE;
|
||||
va += PAGE_SIZE;
|
||||
}
|
||||
@ -1045,7 +1045,7 @@ moea64_bridge_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernele
|
||||
va = virtual_avail;
|
||||
virtual_avail += DPCPU_SIZE;
|
||||
while (va < virtual_avail) {
|
||||
moea64_kenter(mmup, va, pa);;
|
||||
moea64_kenter(mmup, va, pa);
|
||||
pa += PAGE_SIZE;
|
||||
va += PAGE_SIZE;
|
||||
}
|
||||
|
@ -2307,7 +2307,7 @@ mmu_booke_clear_reference(mmu_t mmu, vm_page_t m)
|
||||
static void
|
||||
mmu_booke_change_wiring(mmu_t mmu, pmap_t pmap, vm_offset_t va, boolean_t wired)
|
||||
{
|
||||
pte_t *pte;;
|
||||
pte_t *pte;
|
||||
|
||||
PMAP_LOCK(pmap);
|
||||
if ((pte = pte_find(mmu, pmap, va)) != NULL) {
|
||||
@ -2791,7 +2791,7 @@ tlb1_write_entry(unsigned int idx)
|
||||
mtspr(SPR_MAS7, mas7);
|
||||
__asm __volatile("isync; tlbwe; isync; msync");
|
||||
|
||||
//debugf("tlb1_write_entry: e\n");;
|
||||
//debugf("tlb1_write_entry: e\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -258,7 +258,7 @@ clnt_dg_create(
|
||||
rpc_createerr.cf_error.re_errno = 0;
|
||||
goto err2;
|
||||
}
|
||||
cu->cu_mcalllen = XDR_GETPOS(&xdrs);;
|
||||
cu->cu_mcalllen = XDR_GETPOS(&xdrs);
|
||||
|
||||
/*
|
||||
* By default, closeit is always FALSE. It is users responsibility
|
||||
|
@ -739,7 +739,7 @@ ffs_snapshot(mp, snapfile)
|
||||
auio.uio_iovcnt = 1;
|
||||
aiov.iov_base = (void *)snapblklist;
|
||||
aiov.iov_len = snaplistsize * sizeof(daddr_t);
|
||||
auio.uio_resid = aiov.iov_len;;
|
||||
auio.uio_resid = aiov.iov_len;
|
||||
auio.uio_offset = ip->i_size;
|
||||
auio.uio_segflg = UIO_SYSSPACE;
|
||||
auio.uio_rw = UIO_WRITE;
|
||||
|
@ -330,7 +330,7 @@ xenbus_devices_changed(struct xenbus_watch *watch,
|
||||
device_t dev = sc->xs_dev;
|
||||
char *node, *bus, *type, *id, *p;
|
||||
|
||||
node = strdup(vec[XS_WATCH_PATH], M_DEVBUF);;
|
||||
node = strdup(vec[XS_WATCH_PATH], M_DEVBUF);
|
||||
p = strchr(node, '/');
|
||||
if (!p)
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user