[PATCH] c6x: Remove unused <asm/procinfo.h>

From: Geert Uytterhoeven
Date: Thu Aug 27 2020 - 10:52:11 EST


C6X never used <asm/procinfo.h>, which was presumably opied from ARM.

Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
arch/c6x/include/asm/procinfo.h | 24 ------------------------
arch/c6x/kernel/asm-offsets.c | 1 -
2 files changed, 25 deletions(-)
delete mode 100644 arch/c6x/include/asm/procinfo.h

diff --git a/arch/c6x/include/asm/procinfo.h b/arch/c6x/include/asm/procinfo.h
deleted file mode 100644
index aaa3cb902c43fdb9..0000000000000000
--- a/arch/c6x/include/asm/procinfo.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright (C) 2010 Texas Instruments Incorporated
- * Author: Mark Salter (msalter@xxxxxxxxxx)
- */
-#ifndef _ASM_C6X_PROCINFO_H
-#define _ASM_C6X_PROCINFO_H
-
-#ifdef __KERNEL__
-
-struct proc_info_list {
- unsigned int cpu_val;
- unsigned int cpu_mask;
- const char *arch_name;
- const char *elf_name;
- unsigned int elf_hwcap;
-};
-
-#else /* __KERNEL__ */
-#include <asm/elf.h>
-#warning "Please include asm/elf.h instead"
-#endif /* __KERNEL__ */
-
-#endif /* _ASM_C6X_PROCINFO_H */
diff --git a/arch/c6x/kernel/asm-offsets.c b/arch/c6x/kernel/asm-offsets.c
index 0f8fde494875edd3..42eb3b185f617051 100644
--- a/arch/c6x/kernel/asm-offsets.c
+++ b/arch/c6x/kernel/asm-offsets.c
@@ -7,7 +7,6 @@

#include <linux/sched.h>
#include <linux/thread_info.h>
-#include <asm/procinfo.h>
#include <linux/kbuild.h>
#include <linux/unistd.h>

--
2.17.1