Skip to contentSkip to conversation

nvdimm/nd-core.h: struct nd_region is declared twice

PATCH New Wan Jiabing 1 participant 1 message Mar 26, 2021 libnvdimm: non-volatile memory device

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvdimm/nd-core.h: struct nd_region is declared twice

struct nd_region has been declared at 118th line.
Remove the duplicate.

---
 drivers/nvdimm/nd-core.h | 1 -
 1 file changed, 1 deletion(-)
drivers/nvdimm/nd-core.h +0 -1
index 564faa36a3ca..e54551caf335 100644
@@ -128,7 +128,6 @@ void __nd_device_register(struct device *dev);
 struct nd_label_id;
 char *nd_label_gen_id(struct nd_label_id *label_id, u8 *uuid, u32 flags);
 bool nd_is_uuid_unique(struct device *dev, u8 *uuid);
-struct nd_region;
 struct nvdimm_drvdata;
 struct nd_mapping;
 void nd_mapping_free_labels(struct nd_mapping *nd_mapping);
Signature · 4 lines
2.25.1
_______________________________________________
Linux-nvdimm mailing list -- [email protected]
To unsubscribe send an email to [email protected]