ref: a39eb30ffa2138a817bd787fdfd25eb65927e7d4
parent: e5d29a2bd91951a24fccecd958416856cecef444
author: Jacob Moody <moody@posixcafe.org>
date: Fri Nov 11 12:26:09 EST 2022
skelfs: remove useless code (thanks Arne Meyer)
--- a/sys/src/cmd/skelfs.c
+++ b/sys/src/cmd/skelfs.c
@@ -101,9 +101,6 @@
s = old->aux;
s2 = emalloc9p(sizeof *s2);
- if(s2 == nil)
- return "out of memory";
- memset(s2, 0, sizeof *s2);
s2->mode = s->mode;
utfecpy(s2->name, &s2->name[sizeof s2->name-1], s->name);