summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/arch/ppc64/fs2dt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kexec/arch/ppc64/fs2dt.c b/kexec/arch/ppc64/fs2dt.c
index bdb6d5a..30b785f 100644
--- a/kexec/arch/ppc64/fs2dt.c
+++ b/kexec/arch/ppc64/fs2dt.c
@@ -276,10 +276,6 @@ static void putprops(char *fn, struct dirent **nlist, int numlist)
}
fn[0] = '\0';
- if(errno == ENOSYS)
- errno = 0;
- if (errno)
- die("inrecoverable error: XXX: %s\n", strerror(errno));
checkprop(pathname, NULL);
}
@@ -386,8 +382,6 @@ static void putnode(void)
if (S_ISDIR(statbuf.st_mode))
putnode();
}
- if (errno)
- die("unrecoverable error: XXX %s\n", strerror(errno));
*dt++ = 2;
dn[-1] = '\0';