diff options
author | Yajun Deng <[email protected]> | 2023-04-17 11:52:26 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-04-21 14:52:02 -0700 |
commit | 13215e8a4bb336dac2af561d4f5c34a071810ee4 (patch) | |
tree | 2aae114146f4ecdaf21131b85058736170d913c7 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 4bf4f155bfbc77a12ad2c9e12d9f57718adb9a5c (diff) |
lib/show_mem.c: use for_each_populated_zone() simplify code
__show_mem() needs to iterate over all zones that have memory, we can
simplify the code by using for_each_populated_zone().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yajun Deng <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions