From: Dmitry V. Levin Date: Mon, 14 Dec 2015 00:08:24 +0000 (+0000) Subject: Remove unused parser of xmknod syscall X-Git-Tag: v4.11~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba70eb12b206c5bb81d5f4b3ee56c1e915fd09fb;p=strace Remove unused parser of xmknod syscall The last reference to this parser was removed by commit v4.10-45-gdf4dd8b. * mknod.c [SPARC || SPARC64] (SYS_FUNC(xmknod)): Remove. --- diff --git a/mknod.c b/mknod.c index a7aa7746..d2cf7e2d 100644 --- a/mknod.c +++ b/mknod.c @@ -49,26 +49,3 @@ SYS_FUNC(mknodat) return RVAL_DECODED; } - -#if defined(SPARC) || defined(SPARC64) -SYS_FUNC(xmknod) -{ - int mode = tcp->u_arg[2]; - - tprintf("%ld, ", tcp->u_arg[0]); - printpath(tcp, tcp->u_arg[1]); - tprintf(", %s", sprintmode(mode)); - switch (mode & S_IFMT) { - case S_IFCHR: - case S_IFBLK: - tprintf(", makedev(%lu, %lu)", - (unsigned long) ((tcp->u_arg[3] >> 18) & 0x3fff), - (unsigned long) (tcp->u_arg[3] & 0x3ffff)); - break; - default: - break; - } - - return RVAL_DECODED; -} -#endif /* SPARC || SPARC64 */