Commit 9bccbe7
kdb: Get rid of redundant kdb_curr_task()
Commit cf8e865 ("arch: Remove Itanium (IA-64) architecture")
removed the only definition of macro _TIF_MCA_INIT, so kdb_curr_task()
is actually the same as curr_task() now and becomes redundant.
Let's remove the definition of kdb_curr_task() and replace remaining
calls with curr_task().
Signed-off-by: Zheng Zengkai <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Thompson <[email protected]>1 parent e2e8210 commit 9bccbe7
3 files changed
+5
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | 158 | | |
169 | 159 | | |
170 | 160 | | |
| |||
1228 | 1218 | | |
1229 | 1219 | | |
1230 | 1220 | | |
1231 | | - | |
| 1221 | + | |
1232 | 1222 | | |
1233 | 1223 | | |
1234 | 1224 | | |
| |||
2278 | 2268 | | |
2279 | 2269 | | |
2280 | 2270 | | |
2281 | | - | |
| 2271 | + | |
2282 | 2272 | | |
2283 | 2273 | | |
2284 | 2274 | | |
| |||
2314 | 2304 | | |
2315 | 2305 | | |
2316 | 2306 | | |
2317 | | - | |
| 2307 | + | |
2318 | 2308 | | |
2319 | 2309 | | |
2320 | 2310 | | |
| |||
2350 | 2340 | | |
2351 | 2341 | | |
2352 | 2342 | | |
2353 | | - | |
| 2343 | + | |
2354 | 2344 | | |
2355 | 2345 | | |
2356 | 2346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | 213 | | |
216 | 214 | | |
217 | 215 | | |
| |||
0 commit comments