diff options
author | Oscar Salvador <[email protected]> | 2020-12-14 19:12:08 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-15 12:13:44 -0800 |
commit | 39a0feaef1105d79028fac3078e3c67e137ce98d (patch) | |
tree | 50b329cc69e53a8f09c1cab49c789ba08b573c48 /lib/mpi/mpi-cmp.c | |
parent | 0a4f3d1bb91cac4efdd780373638b6a1a4c24c51 (diff) |
mm,hugetlb: remove unneeded initialization
hugetlb_add_hstate initializes nr_huge_pages and free_huge_pages to 0, but
since hstates[] is a global variable, all its fields are defined to 0
already.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Oscar Salvador <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions