Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp625840ybh; Wed, 18 Mar 2020 06:17:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt88g/2L1WetIwn9qNXL9CkgdxhO8vs7ul1WrNh0Sne4G0ddZR/4pO3pnyypfQmWAefBuWH X-Received: by 2002:a9d:7f07:: with SMTP id j7mr3936877otq.54.1584537471271; Wed, 18 Mar 2020 06:17:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584537471; cv=none; d=google.com; s=arc-20160816; b=IZCOSVA8Y4wYDmv73HcG0oV3NWoxSeUbpSldCyqo29/4WFScsVmzxcAL8qAnHd+7+q 9X+za8Q9YnWB3pxIen/qUZBL4WWPFv/gSeDAf4wzJcoKDO6Mdq1kAExHTEEAHRAkXZs+ 4SOG3i7P2VmwpNM+T8ia1BBhv/YdXzX08MRRgQBaS6BhOVgLqBngq+b/bTh2uFKznirF KJZOqj+aLjc4jA49Bb4K4SW1FD1AP8Wh6yuAh4j39Jspziom8MZGGjanSLQCx1Mu/iFv kAu/mJzi71WaJcgY5crLLAmDIAbGFYVXMO04r47juo8PciFljbf5ucDbT19l50ySS39N jBYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2+U35ps0aH14e4QA9fUiYELl4BDn2bd+PIQVIun5WPY=; b=iQOrSmbM4V04sGu1oLL/Xu0vxZJhaFfObTeR5k7UsyTLPXe1NFuDtYZGMMf1KsjMW1 V6bKr8bIDcwvzsudF7AGvReXDyqObta7Uo2QffPKk2HffT4urpIwA2ysTNssqDxftWxX wy3H/8N72FmWb9TvKLox8Jh4Vw7DWTYaLk7wtxQfJMGJXYdW5ERhWWWq+vYJyP8sEN50 joXV1VhZBwG+ggCVTTcoyKYE0sLKR5ww1Krm67a+2TSqu3Hsxrfq1yFJVQgsOlKzja2d UR41hm0prT/Ou2GYfopnlLkLVbeTWtoevXMe2uQ0gKj2DSckmZaHVjy+VZ3kNCdWxRhE 7GQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h0nSr2tS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si2644492otf.266.2020.03.18.06.17.38; Wed, 18 Mar 2020 06:17:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h0nSr2tS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726864AbgCRNRK (ORCPT + 99 others); Wed, 18 Mar 2020 09:17:10 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38385 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726821AbgCRNRK (ORCPT ); Wed, 18 Mar 2020 09:17:10 -0400 Received: by mail-pg1-f193.google.com with SMTP id x7so13676591pgh.5 for ; Wed, 18 Mar 2020 06:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2+U35ps0aH14e4QA9fUiYELl4BDn2bd+PIQVIun5WPY=; b=h0nSr2tSTlQIXvitLaXqVjVhyptb+pIh5uW38ibDY+gEeDJbqjb/cQfml6h4ZIAHD4 hVC+EwORVwMojzkyIVXx+tZ7/5kaIne4/j5EMLj0Iy8a/WiQbvuhK4QiBnqJZ5k/hE3u 1nBXP5KVIo+8UyJmEyT9j9rs5xk6v/cm2lLWaklmUJi0yR2gEUkCJ0N90Ulq0taAyLsK 85nn1cHmsO4JHOfO5A24RK+NPCG+Qb2Pn4pxR43FrlFBJUja2GOAHo6wr35UcbBv0Qvp urZlq7OjYIQhF+ipvHtuVpmug77wR3pPODyGaaNV5TKhAR/QOBQwNQyyOLxCnM6OQT1o bSGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2+U35ps0aH14e4QA9fUiYELl4BDn2bd+PIQVIun5WPY=; b=iSLKAKY7m/dAT6IA5k14D3vf7Vc7cvfv3Ay7W1KuftMoLkQn86ThykU/Rz9VvT6C/D cxkDyaU8Ej6+N3I4HaMVlVbQrb4fuB8DgHBc0cncnx/eBePLOHZWLotC5vouLtgVO93M AfCxVgs8BBackv2dJyHW09uQEPKrB0vUDEuWVC4UFhvp7qJSQVJwXm8yuZ4aQjr+IYfJ RX/yeqm0/A89nWJZKC9ItFm5OQn268FyDSF9tCD6c+Qortun1FLBYhjTSJBRnJgdfSYf G2v/UZj9pV+btil0LsmiJmhOuATn0MzacdSIyF5SWjm2sqEDpPKOsJJmbGuq6G/SCr4o ZRGA== X-Gm-Message-State: ANhLgQ2WIVKAQj5Z00I72DQk+bumWBV+KjDqSQq4tO5paWSBBQ3F3Z1L o6M8UNbkhwmT2vQSnLM2BtL3hkIg X-Received: by 2002:a63:375b:: with SMTP id g27mr4528506pgn.151.1584537428184; Wed, 18 Mar 2020 06:17:08 -0700 (PDT) Received: from localhost (g44.115-65-203.ppp.wakwak.ne.jp. [115.65.203.44]) by smtp.gmail.com with ESMTPSA id q20sm6573937pfh.89.2020.03.18.06.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 06:17:07 -0700 (PDT) From: Stafford Horne To: LKML Cc: Stafford Horne , Jonas Bonn , Stefan Kristiansson , "Eric W. Biederman" , Allison Randal , Greg Kroah-Hartman , Thomas Gleixner , openrisc@lists.librecores.org Subject: [PATCH] openrisc: Remove obsolete show_trace_task function Date: Wed, 18 Mar 2020 22:17:02 +0900 Message-Id: <20200318131703.17601-1-shorne@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function show_trace_task() was removed during linux 2.5 development and replaced with show_stack(). This was never impemented for openrisc but must have got in via copying from another architecture. Just remove it. Signed-off-by: Stafford Horne --- arch/openrisc/kernel/traps.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/openrisc/kernel/traps.c b/arch/openrisc/kernel/traps.c index 932a8ec2b520..c11aa2e17ce0 100644 --- a/arch/openrisc/kernel/traps.c +++ b/arch/openrisc/kernel/traps.c @@ -55,13 +55,6 @@ void show_stack(struct task_struct *task, unsigned long *esp) unwind_stack(NULL, esp, print_trace); } -void show_trace_task(struct task_struct *tsk) -{ - /* - * TODO: SysRq-T trace dump... - */ -} - void show_registers(struct pt_regs *regs) { int i; -- 2.21.0