Remove unused variables.
This commit is contained in:
parent
6bec9a1eff
commit
e3ad728cf2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151496
@ -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