Commit 1c60f91
ACPI: NUMA: Remove the useless sub table pointer check
In acpi_parse_entries_array(), the subtable entries (entry.hdr)
will never be NULL, so for ACPI subtable handler in struct
acpi_subtable_proc, will never handle NULL subtable entries.
Remove those useless subtable pointer checks in the callback
handlers.
Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent 24194a7 commit 1c60f91
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
295 | | - | |
296 | 294 | | |
297 | 295 | | |
298 | 296 | | |
| |||
309 | 307 | | |
310 | 308 | | |
311 | 309 | | |
312 | | - | |
313 | | - | |
314 | 310 | | |
315 | 311 | | |
316 | 312 | | |
| |||
327 | 323 | | |
328 | 324 | | |
329 | 325 | | |
330 | | - | |
331 | | - | |
332 | 326 | | |
333 | 327 | | |
334 | 328 | | |
| |||
347 | 341 | | |
348 | 342 | | |
349 | 343 | | |
350 | | - | |
351 | | - | |
352 | 344 | | |
353 | 345 | | |
354 | 346 | | |
| |||
0 commit comments