Date: Sun, 20 Aug 2017 11:18:16 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r322723 - head/sys/amd64/amd64 Message-ID: <201708201118.v7KBIGxH069412@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sun Aug 20 11:18:16 2017 New Revision: 322723 URL: https://svnweb.freebsd.org/changeset/base/322723 Log: Simplify the code. Noted by: Oliver Pinter Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c ============================================================================== --- head/sys/amd64/amd64/trap.c Sun Aug 20 10:08:45 2017 (r322722) +++ head/sys/amd64/amd64/trap.c Sun Aug 20 11:18:16 2017 (r322723) @@ -405,9 +405,8 @@ trap(struct trapframe *frame) case T_DTRACE_RET: enable_intr(); fill_frame_regs(frame, ®s); - if (dtrace_return_probe_ptr != NULL && - dtrace_return_probe_ptr(®s) == 0) - return; + if (dtrace_return_probe_ptr != NULL) + dtrace_return_probe_ptr(®s); return; #endif }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708201118.v7KBIGxH069412>