From 3cac5ddd018e57b1f0f32ff1040f93a58fb7d532 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 23 Aug 2016 00:24:03 +0000 Subject: [PATCH] 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. --- file.c | 28 ---------------------------- 1 file changed, 28 deletions(-) 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 */ -- 2.40.0