(apply '(lambda (reformat-region 'style-9-parens)) (read-file isahint.c))

remove redundant parens, per style(9) to reduce that limp, lispy feeling.
This commit is contained in:
imp 2006-07-08 16:50:10 +00:00
parent 76677eaed9
commit b79f12507f

View File

@ -95,14 +95,14 @@ isahint_identify(driver_t *driver, device_t parent)
*/
sprintf(buf, "isa%d", device_get_unit(parent));
i = 0;
while ((resource_find_match(&i, &dname, &dunit, "at", buf)) == 0)
while (resource_find_match(&i, &dname, &dunit, "at", buf) == 0)
isahint_add_device(parent, dname, dunit);
/*
* and isa?
*/
i = 0;
while ((resource_find_match(&i, &dname, &dunit, "at", "isa")) == 0)
while (resource_find_match(&i, &dname, &dunit, "at", "isa") == 0)
isahint_add_device(parent, dname, dunit);
}