Skip to contentSkip to conversation

MIPS: remove unused <asm/cmp.h> header

PATCH Applied Ethan Nelson-Moore 2 participants 2 messages Sep 18 – Sep 26 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: remove unused <asm/cmp.h> header

arch/mips/include/asm/cmp.h appears never to have been used by the kernel. CMP support was removed in commit 7fb6f7b0af67 ("MIPS: Remove deprecated CONFIG_MIPS_CMP"), but it was left behind. Remove it.

---
 arch/mips/include/asm/cmp.h | 10 ----------
 1 file changed, 10 deletions(-)
 delete mode 100644 arch/mips/include/asm/cmp.h
arch/mips/include/asm/cmp.h deleted +0 -10
deleted file mode 100644
index 71e20e6cd38d..000000000000
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _ASM_CMP_H
-#define _ASM_CMP_H
-
-/*
- * Definitions for CMP multitasking on MIPS cores
- */
-struct task_struct;
-
-#endif /*  _ASM_CMP_H */
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 28 lines · Ethan Nelson-Moore

arch/mips/include/asm/cmp.h appears never to have been used by the kernel. CMP support was removed in commit 7fb6f7b0af67 ("MIPS: Remove deprecated CONFIG_MIPS_CMP"), but it was left behind. Remove it.

---
 arch/mips/include/asm/cmp.h | 10 ----------
 1 file changed, 10 deletions(-)
 delete mode 100644 arch/mips/include/asm/cmp.h
arch/mips/include/asm/cmp.h deleted +0 -10
deleted file mode 100644
index 71e20e6cd38d..000000000000
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _ASM_CMP_H
-#define _ASM_CMP_H
-
-/*
- * Definitions for CMP multitasking on MIPS cores
- */
-struct task_struct;
-
-#endif /*  _ASM_CMP_H */
Signature · 1 line
2.43.0

applied to mips-next

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]