diff options
author | Alexey Dobriyan <[email protected]> | 2018-02-06 15:37:02 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-02-06 18:32:43 -0800 |
commit | 593bc695a1102a540f1613c651e73693b17a7343 (patch) | |
tree | a8a30f0ee16db234ad77604115df86243f7ee640 /lib/string_helpers.c | |
parent | ac7f1061c2c11bb8936b1b6a94cdb48de732f7a4 (diff) |
fs/proc/vmcore.c: simpler /proc/vmcore cleanup
Iterators aren't necessary as you can just grab the first entry and delete
it until no entries left.
Link: http://lkml.kernel.org/r/20171121191121.GA20757@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: Mahesh Salgaonkar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions