From 05e59e5fb0064c97a1c10921ecd549f2d4a58565 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:14:40 +0000
Subject: [PATCH] add REDIRECT

---
 kernel/arch/sh/kernel/perf_callchain.c |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/kernel/arch/sh/kernel/perf_callchain.c b/kernel/arch/sh/kernel/perf_callchain.c
index fa2c0cd..c9d3aa1 100644
--- a/kernel/arch/sh/kernel/perf_callchain.c
+++ b/kernel/arch/sh/kernel/perf_callchain.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Performance event callchain support - SuperH architecture code
  *
  * Copyright (C) 2009  Paul Mundt
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
  */
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -13,11 +10,6 @@
 #include <linux/percpu.h>
 #include <asm/unwinder.h>
 #include <asm/ptrace.h>
-
-static int callchain_stack(void *data, char *name)
-{
-	return 0;
-}
 
 static void callchain_address(void *data, unsigned long addr, int reliable)
 {
@@ -28,7 +20,6 @@
 }
 
 static const struct stacktrace_ops callchain_ops = {
-	.stack		= callchain_stack,
 	.address	= callchain_address,
 };
 

--
Gitblit v1.6.2