Skip to content

Commit 681865a

Browse files
Wan Jiabingdjbw
authored andcommitted
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>
1 parent 6efb943 commit 681865a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

include/linux/libnvdimm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ static inline void __iomem *devm_nvdimm_ioremap(struct device *dev,
141141

142142
struct nvdimm_bus;
143143
struct module;
144-
struct device;
145144
struct nd_blk_region;
146145
struct nd_blk_region_desc {
147146
int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev);

0 commit comments

Comments
 (0)