Author: blueswirl Date: 2009-01-10 21:40:11 +0100 (Sat, 10 Jan 2009) New Revision: 381
Modified: openbios-devel/drivers/macio.c Log: Fix warning about unused variables
Modified: openbios-devel/drivers/macio.c =================================================================== --- openbios-devel/drivers/macio.c 2009-01-10 20:31:21 UTC (rev 380) +++ openbios-devel/drivers/macio.c 2009-01-10 20:40:11 UTC (rev 381) @@ -130,9 +130,7 @@ void ob_macio_init(const char *path, uint32_t addr) { - char buf[64]; - phandle_t ph, chosen, aliases; - cell props[2]; + phandle_t aliases;
aliases = find_dev("/aliases"); set_property(aliases, "mac-io", path, strlen(path) + 1);