diff options
author | marius <marius@FreeBSD.org> | 2005-11-22 14:21:03 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-11-22 14:21:03 +0000 |
commit | de081fdfb1f76a022d06b493c13e2f05514b894f (patch) | |
tree | 0bc4d6650460fbdaf9f60f54a8852023b3ca5f79 /sys | |
parent | 8e5d7af2ff149e2c15389cc2941f38e15c3574c8 (diff) | |
download | FreeBSD-src-de081fdfb1f76a022d06b493c13e2f05514b894f.zip FreeBSD-src-de081fdfb1f76a022d06b493c13e2f05514b894f.tar.gz |
Remove unused function and variables.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ofw/openfirm.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/dev/ofw/openfirm.c b/sys/dev/ofw/openfirm.c index f7ef330..58935be 100644 --- a/sys/dev/ofw/openfirm.c +++ b/sys/dev/ofw/openfirm.c @@ -70,13 +70,8 @@ __FBSDID("$FreeBSD$"); MALLOC_DEFINE(M_OFWPROP, "openfirm", "Open Firmware properties"); -static ihandle_t stdin; static ihandle_t stdout; -char *OF_buf; - -void ofbcopy(const void *, void *, size_t); - /* Initialiaser */ void @@ -87,7 +82,6 @@ OF_init(int (*openfirm)(void *)) set_openfirm_callback(openfirm); if ((chosen = OF_finddevice("/chosen")) == -1) OF_exit(); - OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)); OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)); } @@ -820,16 +814,3 @@ OF_chain(void *virt, u_int size, entry(0, 0, openfirmware, arg, len); } #endif - -void -ofbcopy(const void *src, void *dst, size_t len) -{ - const char *sp = src; - char *dp = dst; - - if (src == dst) - return; - - while (len-- > 0) - *dp++ = *sp++; -} |