mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Remove unused variables.
This commit is contained in:
parent
448980e704
commit
9e2b417bfd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143053
@ -71,9 +71,7 @@ struct netif_driver ofwnet = {
|
||||
NENTS(ofwn_ifs) /* netif_nifs */
|
||||
};
|
||||
|
||||
static phandle_t netdevice;
|
||||
static ihandle_t netinstance;
|
||||
static ihandle_t memory;
|
||||
|
||||
static void *dmabuf;
|
||||
|
||||
@ -187,7 +185,6 @@ ofwn_init(struct iodesc *desc, void *machdep_hint)
|
||||
int pathlen;
|
||||
|
||||
chosen = OF_finddevice("/chosen");
|
||||
OF_getprop(chosen, "memory", &memory, sizeof(memory));
|
||||
pathlen = OF_getprop(chosen, "bootpath", path, 64);
|
||||
if ((ch = index(path, ':')) != NULL)
|
||||
*ch = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user