diff options
author | Matthew Wood <[email protected]> | 2024-02-04 15:27:34 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-02-09 10:23:45 +0000 |
commit | ae001dc67907618423fd15bbab2014308c00ad0b (patch) | |
tree | 477d7ab9bb34146b1fb7c42e284c6d0421627737 /lib/netdev-notifier-error-inject.c | |
parent | bd9c69a36efd863ac915caa0f9e6dd57be0dde3e (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions