aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWan Jiabing2021-04-19 19:27:25 +0800
committerDan Williams2021-05-12 12:37:14 -0700
commit681865a03d3ec6ac3dda147044ed2a1a0f49f7bf (patch)
treee4ce8056e5cac04ec6e9ad4424e7ea61f072b1ed /include
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
libnvdimm: Remove duplicate struct declaration
struct device is declared at 133rd line. The second declaration is unnecessary, remove it. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Link: https://lore.kernel.org/r/20210419112725.42145-1-wanjiabing@vivo.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libnvdimm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h
index 01f251b6e36c..89b69e645ac7 100644
--- a/include/linux/libnvdimm.h
+++ b/include/linux/libnvdimm.h
@@ -141,7 +141,6 @@ static inline void __iomem *devm_nvdimm_ioremap(struct device *dev,
struct nvdimm_bus;
struct module;
-struct device;
struct nd_blk_region;
struct nd_blk_region_desc {
int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev);