aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorMatthew Wood <[email protected]>2024-02-04 15:27:34 -0800
committerDavid S. Miller <[email protected]>2024-02-09 10:23:45 +0000
commitae001dc67907618423fd15bbab2014308c00ad0b (patch)
tree477d7ab9bb34146b1fb7c42e284c6d0421627737 /lib/netdev-notifier-error-inject.c
parentbd9c69a36efd863ac915caa0f9e6dd57be0dde3e (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