Remove unused variables.
This commit is contained in:
parent
8f54edce78
commit
fae1a322ef
@ -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)
|
||||
|
@ -112,7 +112,6 @@ int
|
||||
ofw_cons_poll()
|
||||
{
|
||||
unsigned char ch;
|
||||
int l;
|
||||
|
||||
if (saved_char != -1)
|
||||
return 1;
|
||||
|
@ -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));
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user