diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2024-02-02 07:56:04 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-02-06 14:37:39 +0000 |
| commit | 798d8b1cfecc45ede0d32ee1375bae3c39649d7d (patch) | |
| tree | 9cda27a4f253b63ef7046fbdb44ee2f073293c96 /tools/perf/scripts/python/flamegraph.py | |
| parent | bc9d077a8d171765b11f3b2fc52ba483bc1a31f6 (diff) | |
tty: vt: add new helper for reseting vc parameters
The code to reset the vc parameter parsing is repeated on two locations.
Create a helper vc_reset_params() and use it on both of them.
And instead of a 'for' loop to clear the array of parameters, use
simpler memset().
Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions