1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

sys: Nuke double-semicolons

A distinct number of double-semicolons have ended up in FreeBSD.  Take a
pass at getting rid of many of these harmless typos.

Reviewed by: emaste, rrs
Pull Request: https://github.com/freebsd/freebsd-src/pull/609
Differential Revision: https://reviews.freebsd.org/D31716
This commit is contained in:
Elliott Mitchell 2021-08-16 15:51:38 -07:00 committed by Warner Losh
parent 923704f7b8
commit 21cc0918c7
12 changed files with 12 additions and 12 deletions

View File

@ -367,7 +367,7 @@ mv_ap806_sei_attach(device_t dev)
if (rv != 0)
goto fail; /* XXX deregister ISRCs */
}
xref = OF_xref_from_node(node);;
xref = OF_xref_from_node(node);
if (intr_pic_register(dev, xref) == NULL) {
device_printf(dev, "Cannot register SEI\n");
rv = ENXIO;

View File

@ -291,7 +291,7 @@ max77620_encode_fps_period(struct max77620_softc *sc, int val)
static int
max77620_init(struct max77620_softc *sc)
{
uint8_t mask, val, tmp;;
uint8_t mask, val, tmp;
int i, rv;
mask = 0;

View File

@ -285,7 +285,7 @@ linux_ioctl_disk(struct thread *td, struct linux_ioctl_args *args)
fdrop(fp, td);
if (error)
return (error);
blksize64 = mediasize;;
blksize64 = mediasize;
return (copyout(&blksize64, (void *)args->arg,
sizeof(blksize64)));
case LINUX_BLKSSZGET:

View File

@ -588,7 +588,7 @@ xgbe_init_all_fptrs(struct xgbe_prv_data *pdata)
static void
axgbe_set_counts(if_ctx_t ctx)
{
struct axgbe_if_softc *sc = iflib_get_softc(ctx);;
struct axgbe_if_softc *sc = iflib_get_softc(ctx);
struct xgbe_prv_data *pdata = &sc->pdata;
cpuset_t lcpus;
int cpu_count, err;

View File

@ -901,7 +901,7 @@ em_if_attach_pre(if_ctx_t ctx)
* that it shall give MSI at least a try with other devices.
*/
if (hw->mac.type == e1000_82574) {
scctx->isc_msix_bar = pci_msix_table_bar(dev);;
scctx->isc_msix_bar = pci_msix_table_bar(dev);
} else {
scctx->isc_msix_bar = -1;
scctx->isc_disable_msix = 1;

View File

@ -197,7 +197,7 @@ felix_parse_port_fdt(felix_softc_t sc, phandle_t child, int *pport)
return (0);
}
sc->ports[port].fixed_port = true;;
sc->ports[port].fixed_port = true;
if (OF_getencprop(node, "speed", &status, sizeof(status)) <= 0) {
device_printf(sc->dev,

View File

@ -89,7 +89,7 @@ simple_mfd_syscon_read_4(struct syscon *syscon, bus_size_t offset)
uint32_t val;
sc = device_get_softc(syscon->pdev);
SYSCON_ASSERT_LOCKED(sc);;
SYSCON_ASSERT_LOCKED(sc);
val = bus_read_4(sc->mem_res, offset);
return (val);
}

View File

@ -2128,7 +2128,7 @@ struct netmap_monitor_adapter {
* native netmap support.
*/
int generic_netmap_attach(struct ifnet *ifp);
int generic_rx_handler(struct ifnet *ifp, struct mbuf *m);;
int generic_rx_handler(struct ifnet *ifp, struct mbuf *m);
int nm_os_catch_rx(struct netmap_generic_adapter *gna, int intercept);
int nm_os_catch_tx(struct netmap_generic_adapter *gna, int intercept);

View File

@ -87,5 +87,5 @@ extern void ocs_domain_attach(ocs_domain_t *domain, uint32_t s_id);
extern int ocs_domain_post_event(ocs_domain_t *domain, ocs_sm_event_t, void *);
extern int ocs_ddump_domain(ocs_textbuf_t *textbuf, ocs_domain_t *domain);
extern void __ocs_domain_attach_internal(ocs_domain_t *domain, uint32_t s_id);;
extern void __ocs_domain_attach_internal(ocs_domain_t *domain, uint32_t s_id);
#endif

View File

@ -769,7 +769,7 @@ ip6_output(struct mbuf *m0, struct ip6_pktopts *opt,
if (nh == NULL) {
IP6STAT_INC(ip6s_noroute);
/* No ifp in6_ifstat_inc(ifp, ifs6_out_discard); */
error = EHOSTUNREACH;;
error = EHOSTUNREACH;
goto bad;
}

View File

@ -139,7 +139,7 @@ codel_dequeue(struct dn_queue *q)
aqm_time_t now;
uint16_t ok_to_drop;
cst = q->aqm_status;;
cst = q->aqm_status;
cprms = q->fs->aqmcfg;
now = AQM_UNOW;

View File

@ -174,7 +174,7 @@ struct xunpgen {
u_int xug_count;
unp_gen_t xug_gen;
so_gen_t xug_sogen;
} __aligned(8);;
} __aligned(8);
#endif /* _SYS_SOCKETVAR_H_ */
#if defined(_KERNEL)