Date: Tue, 6 Sep 2016 13:34:10 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r305474 - in head/sys/dev/bhnd: . bhndb Message-ID: <201609061334.u86DYAeM052388@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Tue Sep 6 13:34:10 2016 New Revision: 305474 URL: https://svnweb.freebsd.org/changeset/base/305474 Log: bhnd: remove redundant ;s at the end of functions or switch statements Modified: head/sys/dev/bhnd/bhnd_subr.c head/sys/dev/bhnd/bhndb/bhndb.c Modified: head/sys/dev/bhnd/bhnd_subr.c ============================================================================== --- head/sys/dev/bhnd/bhnd_subr.c Tue Sep 6 12:00:16 2016 (r305473) +++ head/sys/dev/bhnd/bhnd_subr.c Tue Sep 6 13:34:10 2016 (r305474) @@ -833,7 +833,7 @@ bhnd_alloc_resources(device_t dev, struc } return (0); -}; +} /** * Release bhnd(4) resources defined in @p rs from a parent bus. @@ -1657,7 +1657,7 @@ bhnd_bus_generic_activate_resource(devic } return (error); -}; +} /** * Helper function for implementing BHND_BUS_DEACTIVATE_RESOURCE(). @@ -1674,5 +1674,5 @@ bhnd_bus_generic_deactivate_resource(dev child, type, rid, r)); return (EINVAL); -}; +} Modified: head/sys/dev/bhnd/bhndb/bhndb.c ============================================================================== --- head/sys/dev/bhnd/bhndb/bhndb.c Tue Sep 6 12:00:16 2016 (r305473) +++ head/sys/dev/bhnd/bhndb/bhndb.c Tue Sep 6 13:34:10 2016 (r305474) @@ -1101,7 +1101,7 @@ bhndb_get_rman(struct bhndb_softc *sc, d return (NULL); default: return (NULL); - }; + } case BHNDB_ADDRSPACE_BRIDGED: switch (type) { @@ -1111,7 +1111,7 @@ bhndb_get_rman(struct bhndb_softc *sc, d return (NULL); default: return (NULL); - }; + } } /* Quieten gcc */ @@ -1830,7 +1830,7 @@ bhndb_activate_bhnd_resource(device_t de } return (error); -}; +} /** * Default bhndb(4) implementation of BHND_BUS_DEACTIVATE_RESOURCE(). @@ -1854,7 +1854,7 @@ bhndb_deactivate_bhnd_resource(device_t r->direct = false; return (error); -}; +} /** * Slow path for bhndb_io_resource().
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609061334.u86DYAeM052388>