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().
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to