[Skiboot] [PATCH] npu2: Remove unused npu2_dev struct members
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Fri Nov 17 13:36:51 AEDT 2017
There's a few members of struct npu2_dev that are completely unused. Remove
them.
Cc: Alistair Popple <alistair at popple.id.au>
Cc: Reza Arbab <arbab at linux.vnet.ibm.com>
Cc: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
---
Alistair/Reza let me know if you actually want to keep these...
---
include/npu2.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/npu2.h b/include/npu2.h
index 95638697..3b56f48b 100644
--- a/include/npu2.h
+++ b/include/npu2.h
@@ -78,10 +78,7 @@ struct npu2_pcie_bar {
struct npu2;
struct npu2_dev {
uint32_t index;
- uint32_t flags;
- uint64_t xscom;
uint64_t pl_xscom_base;
- void *regs;
struct dt_node *dt_node;
struct npu2_pcie_bar bars[2];
struct npu2 *npu;
--
2.11.0
More information about the Skiboot
mailing list