Commit cd03090
maccess: remove probe_read_common and probe_write_common
Each of the helpers has just two callers, which also different in
dealing with kernel or userspace pointers. Just open code the logic
in the callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20200521152301.2587579-10-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 02dddb1 commit cd03090
1 file changed
+29
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 9 | | |
34 | 10 | | |
35 | 11 | | |
| |||
70 | 46 | | |
71 | 47 | | |
72 | 48 | | |
73 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
74 | 53 | | |
75 | 54 | | |
76 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
77 | 58 | | |
78 | 59 | | |
79 | 60 | | |
| |||
92 | 73 | | |
93 | 74 | | |
94 | 75 | | |
95 | | - | |
96 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
97 | 81 | | |
98 | 82 | | |
99 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
100 | 86 | | |
101 | 87 | | |
102 | 88 | | |
| |||
115 | 101 | | |
116 | 102 | | |
117 | 103 | | |
118 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
119 | 107 | | |
120 | 108 | | |
121 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
122 | 112 | | |
123 | 113 | | |
124 | 114 | | |
| |||
136 | 126 | | |
137 | 127 | | |
138 | 128 | | |
139 | | - | |
140 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
141 | 134 | | |
142 | 135 | | |
143 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
144 | 139 | | |
145 | 140 | | |
146 | 141 | | |
| |||
0 commit comments