[Skiboot] [PATCH] npu2: Remove unused fields in struct npu2

Andrew Donnellan andrew.donnellan at au1.ibm.com
Fri Mar 16 14:46:08 AEDT 2018


Trivial cleanup of two unused fields in struct npu2.

Cc: Alistair Popple <alistair at popple.id.au>
Cc: Reza Arbab <arbab at linux.vnet.ibm.com>
Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
---
 include/npu2.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/npu2.h b/include/npu2.h
index eee57a7bd761..b95e1d3a4056 100644
--- a/include/npu2.h
+++ b/include/npu2.h
@@ -140,10 +140,8 @@ struct npu2_dev {
 struct npu2 {
 	uint32_t	index;
 	struct dt_node	*dt_node;
-	uint32_t	flags;
 	uint32_t	chip_id;
 	uint64_t	xscom_base;
-	uint64_t	at_xscom;
 	void		*regs;
 	uint64_t	mm_base;
 	uint64_t	mm_size;
-- 
2.11.0



More information about the Skiboot mailing list