bhnd: remove redundant ;s at the end of functions or switch statements

This commit is contained in:
Ed Maste 2016-09-06 13:34:10 +00:00
parent 93ae47478c
commit 68c6ae00ad
2 changed files with 7 additions and 7 deletions

View File

@ -833,7 +833,7 @@ bhnd_alloc_resources(device_t dev, struct resource_spec *rs,
}
return (0);
};
}
/**
* Release bhnd(4) resources defined in @p rs from a parent bus.
@ -1657,7 +1657,7 @@ bhnd_bus_generic_activate_resource(device_t dev, device_t child, int type,
}
return (error);
};
}
/**
* Helper function for implementing BHND_BUS_DEACTIVATE_RESOURCE().
@ -1674,5 +1674,5 @@ bhnd_bus_generic_deactivate_resource(device_t dev, device_t child,
child, type, rid, r));
return (EINVAL);
};
}

View File

@ -1101,7 +1101,7 @@ bhndb_get_rman(struct bhndb_softc *sc, device_t child, int type)
return (NULL);
default:
return (NULL);
};
}
case BHNDB_ADDRSPACE_BRIDGED:
switch (type) {
@ -1111,7 +1111,7 @@ bhndb_get_rman(struct bhndb_softc *sc, device_t child, int type)
return (NULL);
default:
return (NULL);
};
}
}
/* Quieten gcc */
@ -1830,7 +1830,7 @@ bhndb_activate_bhnd_resource(device_t dev, device_t child,
}
return (error);
};
}
/**
* Default bhndb(4) implementation of BHND_BUS_DEACTIVATE_RESOURCE().
@ -1854,7 +1854,7 @@ bhndb_deactivate_bhnd_resource(device_t dev, device_t child,
r->direct = false;
return (error);
};
}
/**
* Slow path for bhndb_io_resource().