summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthew Wood <thepacketgeek@gmail.com>2024-02-05 02:27:34 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-09 13:23:45 +0300
commitae001dc67907618423fd15bbab2014308c00ad0b (patch)
tree477d7ab9bb34146b1fb7c42e284c6d0421627737 /tools/perf/scripts/python
parentbd9c69a36efd863ac915caa0f9e6dd57be0dde3e (diff)
downloadlinux-ae001dc67907618423fd15bbab2014308c00ad0b.tar.xz
net: netconsole: move newline trimming to function
Move newline trimming logic from `dev_name_store()` to a new function (trim_newline()) for shared use in netconsole.c Signed-off-by: Matthew Wood <thepacketgeek@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions