diff options
| author | Miaohe Lin <[email protected]> | 2022-09-01 20:00:26 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:26:09 -0700 |
| commit | 12658abfc59ddf2ed176fce461e83f392ff18e5b (patch) | |
| tree | b34911a69de1dfb909086e5e29604042771d5ed6 /tools/perf/scripts | |
| parent | bcc665436fe4648550ed4fd3345c7106b5da35b0 (diff) | |
hugetlb: pass NULL to kobj_to_hstate() if nid is unused
We can pass NULL to kobj_to_hstate() directly when nid is unused to
simplify the code. No functional change intended.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions