From owner-svn-src-head@freebsd.org Tue Apr 4 08:17:04 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53A9ED2DA81; Tue, 4 Apr 2017 08:17:04 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23FC2C9F; Tue, 4 Apr 2017 08:17:04 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v348H3s1059516; Tue, 4 Apr 2017 08:17:03 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v348H3UA059515; Tue, 4 Apr 2017 08:17:03 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201704040817.v348H3UA059515@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Tue, 4 Apr 2017 08:17:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316486 - head/sys/mips/mips X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 08:17:04 -0000 Author: trasz Date: Tue Apr 4 08:17:03 2017 New Revision: 316486 URL: https://svnweb.freebsd.org/changeset/base/316486 Log: Remove dead code/ifdef. MFC after: 2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/mips/mips/trap.c Modified: head/sys/mips/mips/trap.c ============================================================================== --- head/sys/mips/mips/trap.c Tue Apr 4 06:16:59 2017 (r316485) +++ head/sys/mips/mips/trap.c Tue Apr 4 08:17:03 2017 (r316486) @@ -1334,13 +1334,8 @@ log_frame_dump(struct trapframe *frame) log(LOG_ERR, "\tsr: %#jx\tmullo: %#jx\tmulhi: %#jx\tbadvaddr: %#jx\n", (intmax_t)frame->sr, (intmax_t)frame->mullo, (intmax_t)frame->mulhi, (intmax_t)frame->badvaddr); -#ifdef IC_REG - log(LOG_ERR, "\tcause: %#jx\tpc: %#jx\tic: %#jx\n", - (intmax_t)frame->cause, (intmax_t)frame->pc, (intmax_t)frame->ic); -#else log(LOG_ERR, "\tcause: %#jx\tpc: %#jx\n", (intmax_t)frame->cause, (intmax_t)frame->pc); -#endif } #ifdef TRAP_DEBUG @@ -1381,13 +1376,8 @@ trap_frame_dump(struct trapframe *frame) printf("\tsr: %#jx\tmullo: %#jx\tmulhi: %#jx\tbadvaddr: %#jx\n", (intmax_t)frame->sr, (intmax_t)frame->mullo, (intmax_t)frame->mulhi, (intmax_t)frame->badvaddr); -#ifdef IC_REG - printf("\tcause: %#jx\tpc: %#jx\tic: %#jx\n", - (intmax_t)frame->cause, (intmax_t)frame->pc, (intmax_t)frame->ic); -#else printf("\tcause: %#jx\tpc: %#jx\n", (intmax_t)frame->cause, (intmax_t)frame->pc); -#endif } #endif