[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1599875679-8741-1-git-send-email-tangyouling@loongson.cn>
Date: Sat, 12 Sep 2020 09:54:39 +0800
From: Youling Tang <tangyouling@...ngson.cn>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] MIPS: netlogic: Remove unused code
Remove some unused code.
Signed-off-by: Youling Tang <tangyouling@...ngson.cn>
---
arch/mips/include/asm/netlogic/psb-bootinfo.h | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/arch/mips/include/asm/netlogic/psb-bootinfo.h b/arch/mips/include/asm/netlogic/psb-bootinfo.h
index 6878307..272544b 100644
--- a/arch/mips/include/asm/netlogic/psb-bootinfo.h
+++ b/arch/mips/include/asm/netlogic/psb-bootinfo.h
@@ -77,21 +77,6 @@ struct psb_info {
uint64_t avail_mem_map;
};
-enum {
- NETLOGIC_IO_SPACE = 0x10,
- PCIX_IO_SPACE,
- PCIX_CFG_SPACE,
- PCIX_MEMORY_SPACE,
- HT_IO_SPACE,
- HT_CFG_SPACE,
- HT_MEMORY_SPACE,
- SRAM_SPACE,
- FLASH_CONTROLLER_SPACE
-};
-
-#define NLM_MAX_ARGS 64
-#define NLM_MAX_ENVS 32
-
/* This is what netlboot passes and linux boot_mem_map is subtly different */
#define NLM_BOOT_MEM_MAP_MAX 32
struct nlm_boot_mem_map {
--
2.1.0
Powered by blists - more mailing lists