From: Dmitry V. Levin Date: Tue, 23 Aug 2016 00:24:03 +0000 (+0000) Subject: sparc, sparc64: remove obsolete code X-Git-Tag: v4.14~179 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3cac5ddd018e57b1f0f32ff1040f93a58fb7d532;p=strace sparc, sparc64: remove obsolete code Remove remains of solaris personality support. This complements commit v4.10-45-gdf4dd8b. * file.c [SPARC || SPARC64] (SYS_FUNC(xstat), SYS_FUNC(fxstat)): Remove. --- diff --git a/file.c b/file.c index 51e8e41d..40f64060 100644 --- a/file.c +++ b/file.c @@ -330,31 +330,3 @@ SYS_FUNC(oldfstat) } #endif /* HAVE_STRUCT___OLD_KERNEL_STAT */ - -#if defined(SPARC) || defined(SPARC64) - -SYS_FUNC(xstat) -{ - if (entering(tcp)) { - tprintf("%ld, ", tcp->u_arg[0]); - printpath(tcp, tcp->u_arg[1]); - tprints(", "); - } else { - printstat(tcp, tcp->u_arg[2]); - } - return 0; -} - -SYS_FUNC(fxstat) -{ - if (entering(tcp)) { - tprintf("%ld, ", tcp->u_arg[0]); - printfd(tcp, tcp->u_arg[1]); - tprints(", "); - } else { - printstat(tcp, tcp->u_arg[2]); - } - return 0; -} - -#endif /* SPARC || SPARC64 */