summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 03:00:37 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 03:00:37 +0000
commit3f7a414911a892c8c84206394eb643cbde706d20 (patch)
treec45117cffaa16d0c405fe18e0a22e5a403277232 /sys/dev
parent4acd2b3e06da83dd8af23c49beb06a38077f7c4f (diff)
downloadFreeBSD-src-3f7a414911a892c8c84206394eb643cbde706d20.zip
FreeBSD-src-3f7a414911a892c8c84206394eb643cbde706d20.tar.gz
remove duplicate semicolons where possible.
Approved by: cperciva MFC after: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ahci/ahciem.c2
-rw-r--r--sys/dev/cxgb/cxgb_main.c2
-rw-r--r--sys/dev/e1000/if_lem.c2
-rw-r--r--sys/dev/hpt27xx/os_bsd.c2
-rw-r--r--sys/dev/isf/isf.c2
-rw-r--r--sys/dev/mps/mps_sas.c2
-rw-r--r--sys/dev/mps/mps_user.c2
-rw-r--r--sys/dev/oce/oce_if.c2
-rw-r--r--sys/dev/sound/pci/hda/hdaa.c2
-rw-r--r--sys/dev/usb/net/if_smsc.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/ahci/ahciem.c b/sys/dev/ahci/ahciem.c
index 4e73d02..a0978d1 100644
--- a/sys/dev/ahci/ahciem.c
+++ b/sys/dev/ahci/ahciem.c
@@ -87,7 +87,7 @@ ahci_em_attach(device_t dev)
if (!(enc->r_memc = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
&rid, RF_ACTIVE)))
return (ENXIO);
- enc->capsem = ATA_INL(enc->r_memc, 0);;
+ enc->capsem = ATA_INL(enc->r_memc, 0);
rid = 1;
if (!(enc->r_memt = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
&rid, RF_ACTIVE))) {
diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c
index b098716..455c723 100644
--- a/sys/dev/cxgb/cxgb_main.c
+++ b/sys/dev/cxgb/cxgb_main.c
@@ -2984,7 +2984,7 @@ cxgb_extension_ioctl(struct cdev *dev, unsigned long cmd, caddr_t data,
break;
}
case CHELSIO_SET_FILTER: {
- struct ch_filter *f = (struct ch_filter *)data;;
+ struct ch_filter *f = (struct ch_filter *)data;
struct filter_info *p;
unsigned int nfilters = sc->params.mc5.nfilters;
diff --git a/sys/dev/e1000/if_lem.c b/sys/dev/e1000/if_lem.c
index 8c467f1..cce7346 100644
--- a/sys/dev/e1000/if_lem.c
+++ b/sys/dev/e1000/if_lem.c
@@ -3425,7 +3425,7 @@ lem_free_receive_structures(struct adapter *adapter)
static bool
lem_rxeof(struct adapter *adapter, int count, int *done)
{
- struct ifnet *ifp = adapter->ifp;;
+ struct ifnet *ifp = adapter->ifp;
struct mbuf *mp;
u8 status = 0, accept_frame = 0, eop = 0;
u16 len, desc_len, prev_len_adj;
diff --git a/sys/dev/hpt27xx/os_bsd.c b/sys/dev/hpt27xx/os_bsd.c
index 43f8116..12f832b 100644
--- a/sys/dev/hpt27xx/os_bsd.c
+++ b/sys/dev/hpt27xx/os_bsd.c
@@ -133,7 +133,7 @@ HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg)
}
HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg)
{
- return (HPT_U32)pci_cfgregread(bus, dev, func, reg, 4);;
+ return (HPT_U32)pci_cfgregread(bus, dev, func, reg, 4);
}
void pcicfg_write_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v)
{
diff --git a/sys/dev/isf/isf.c b/sys/dev/isf/isf.c
index b3ac080..e537799 100644
--- a/sys/dev/isf/isf.c
+++ b/sys/dev/isf/isf.c
@@ -498,7 +498,7 @@ isf_disk_ioctl(struct disk *disk, u_long cmd, void *data, int fflag,
static void
isf_disk_strategy(struct bio *bp)
{
- struct isf_softc *sc = bp->bio_disk->d_drv1;;
+ struct isf_softc *sc = bp->bio_disk->d_drv1;
/*
* We advertise a block size and maximum I/O size up the stack; catch
diff --git a/sys/dev/mps/mps_sas.c b/sys/dev/mps/mps_sas.c
index e02fe33..a76a0aa 100644
--- a/sys/dev/mps/mps_sas.c
+++ b/sys/dev/mps/mps_sas.c
@@ -2020,7 +2020,7 @@ mpssas_scsiio_complete(struct mps_softc *sc, struct mps_command *cm)
if (cm->cm_flags & MPS_CM_FLAGS_DATAIN)
dir = BUS_DMASYNC_POSTREAD;
else if (cm->cm_flags & MPS_CM_FLAGS_DATAOUT)
- dir = BUS_DMASYNC_POSTWRITE;;
+ dir = BUS_DMASYNC_POSTWRITE;
bus_dmamap_sync(sc->buffer_dmat, cm->cm_dmamap, dir);
bus_dmamap_unload(sc->buffer_dmat, cm->cm_dmamap);
}
diff --git a/sys/dev/mps/mps_user.c b/sys/dev/mps/mps_user.c
index ee03573..3183df8 100644
--- a/sys/dev/mps/mps_user.c
+++ b/sys/dev/mps/mps_user.c
@@ -1000,7 +1000,7 @@ mps_user_pass_thru(struct mps_softc *sc, mps_pass_thru_t *data)
if (cm->cm_flags & MPS_CM_FLAGS_DATAIN)
dir = BUS_DMASYNC_POSTREAD;
else if (cm->cm_flags & MPS_CM_FLAGS_DATAOUT)
- dir = BUS_DMASYNC_POSTWRITE;;
+ dir = BUS_DMASYNC_POSTWRITE;
bus_dmamap_sync(sc->buffer_dmat, cm->cm_dmamap, dir);
bus_dmamap_unload(sc->buffer_dmat, cm->cm_dmamap);
diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c
index 61a6f7d..79ba410 100644
--- a/sys/dev/oce/oce_if.c
+++ b/sys/dev/oce/oce_if.c
@@ -248,7 +248,7 @@ oce_attach(device_t dev)
rc = oce_hw_start(sc);
if (rc)
- goto lro_free;;
+ goto lro_free;
sc->vlan_attach = EVENTHANDLER_REGISTER(vlan_config,
oce_add_vlan, sc, EVENTHANDLER_PRI_FIRST);
diff --git a/sys/dev/sound/pci/hda/hdaa.c b/sys/dev/sound/pci/hda/hdaa.c
index 3fc948b..0be77c3 100644
--- a/sys/dev/sound/pci/hda/hdaa.c
+++ b/sys/dev/sound/pci/hda/hdaa.c
@@ -1148,7 +1148,7 @@ hdaa_widget_parse(struct hdaa_widget *w)
w->wclass.pin.config = hda_command(dev,
HDA_CMD_GET_CONFIGURATION_DEFAULT(0, w->nid));
w->wclass.pin.cap = hda_command(dev,
- HDA_CMD_GET_PARAMETER(0, w->nid, HDA_PARAM_PIN_CAP));;
+ HDA_CMD_GET_PARAMETER(0, w->nid, HDA_PARAM_PIN_CAP));
w->wclass.pin.ctrl = hda_command(dev,
HDA_CMD_GET_PIN_WIDGET_CTRL(0, nid));
if (HDA_PARAM_PIN_CAP_EAPD_CAP(w->wclass.pin.cap)) {
diff --git a/sys/dev/usb/net/if_smsc.c b/sys/dev/usb/net/if_smsc.c
index 07874ef..2e2b4ef 100644
--- a/sys/dev/usb/net/if_smsc.c
+++ b/sys/dev/usb/net/if_smsc.c
@@ -1179,7 +1179,7 @@ static void
smsc_tick(struct usb_ether *ue)
{
struct smsc_softc *sc = uether_getsc(ue);
- struct mii_data *mii = uether_getmii(&sc->sc_ue);;
+ struct mii_data *mii = uether_getmii(&sc->sc_ue);
SMSC_LOCK_ASSERT(sc, MA_OWNED);
OpenPOWER on IntegriCloud