ofw: clean up empty lines in .c and .h files

This commit is contained in:
Mateusz Guzik 2020-09-01 22:01:53 +00:00
parent ad297e9ec5
commit f9874fbbf1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365185
6 changed files with 1 additions and 7 deletions

View File

@ -183,7 +183,7 @@ ofw_bus_status_okay(device_t dev)
if (status == NULL || strcmp(status, "okay") == 0 ||
strcmp(status, "ok") == 0)
return (1);
return (0);
}

View File

@ -361,7 +361,6 @@ ofw_cpu_early_foreach(ofw_cpu_foreach_cb callback, boolean_t only_runnable)
for (child = OF_child(node); child != 0; child = OF_peer(child),
id = next_id) {
/* Check if child is a CPU */
memset(device_type, 0, sizeof(device_type));
rv = OF_getprop(child, "device_type", device_type,

View File

@ -41,4 +41,3 @@ phandle_t ofw_graph_get_remote_parent(phandle_t remote);
device_t ofw_graph_get_device_by_port_ep(phandle_t node, uint32_t port_id, uint32_t ep_id);
#endif /* _OFW_GRAPH_H_ */

View File

@ -136,7 +136,6 @@ static ofw_method_t ofw_std_methods[] = {
OFWMETHOD(ofw_release, ofw_std_release),
OFWMETHOD(ofw_enter, ofw_std_enter),
OFWMETHOD(ofw_exit, ofw_std_exit),
{ 0, 0 }
};

View File

@ -103,7 +103,6 @@ static struct rman *ofw_pci_get_rman(struct ofw_pci_softc *, int, u_int);
* Driver methods.
*/
static device_method_t ofw_pci_methods[] = {
/* Device interface */
DEVMETHOD(device_attach, ofw_pci_attach),
@ -409,7 +408,6 @@ ofw_pci_alloc_resource(device_t bus, device_t child, int type, int *rid,
struct rman *rm;
int needactivate;
needactivate = flags & RF_ACTIVE;
flags &= ~RF_ACTIVE;

View File

@ -151,7 +151,6 @@ openfirm_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags,
name = value = NULL;
error = 0;
switch (cmd) {
case OFIOCGET:
case OFIOCGETPROPLEN:
if (node == 0)