Remove unused variables.

This commit is contained in:
marius 2005-10-20 10:39:09 +00:00
parent 8f54edce78
commit fae1a322ef
4 changed files with 0 additions and 7 deletions

View File

@ -47,7 +47,6 @@ __elfN(ofw_loadfile)(char *filename, u_int64_t dest,
struct preloaded_file **result)
{
int r;
void *addr;
r = __elfN(loadfile)(filename, dest, result);
if (r != 0)

View File

@ -112,7 +112,6 @@ int
ofw_cons_poll()
{
unsigned char ch;
int l;
if (saved_char != -1)
return 1;

View File

@ -120,7 +120,6 @@ ofw_alloc_heap(unsigned int size)
{
phandle_t memoryp;
struct ofw_reg available;
void *base;
memoryp = OF_instance_to_package(memory);
OF_getprop(memoryp, "available", &available, sizeof(available));

View File

@ -66,9 +66,6 @@ __FBSDID("$FreeBSD$");
int (*openfirmware)(void *);
static ihandle_t stdin;
static ihandle_t stdout;
ihandle_t mmu;
ihandle_t memory;
@ -396,7 +393,6 @@ OF_canon(const char *device, char *buf, int len)
phandle_t
OF_finddevice(const char *device)
{
int i;
static struct {
cell_t name;
cell_t nargs;