History

memremap: remove the dev field in struct dev_pagemap

The dev field in struct dev_pagemap is only used to print dev_name in two places, which are at best nice to have. Just remove the field and thus the name in those two messages.

Christoph Hellwig committed 7 years ago

Commit fdc029b1 parent 0c385194 files · +2 −8Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/memremap.h+0−1
@@ -109,7 +109,6 @@ struct dev_pagemap { · 108 unmodified lines
109109 struct percpu_ref *ref;
110110 struct percpu_ref internal_ref;
111111 struct completion done;
112− struct device *dev;
113112 enum memory_type type;
114113 unsigned int flags;
115114 u64 pci_p2pdma_bus_offset;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t