summaryrefslogtreecommitdiffstats
path: root/fs/bfs/dir.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-06-25 15:02:33 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 17:00:40 -0700
commita29fd614a6af57610b1963e3445f1758c3806187 (patch)
tree7152686b1dfd8daa500e93739d305c6d9d2c5455 /fs/bfs/dir.c
parent2abf114fc841550a3e0c63afcd31c9781116fe42 (diff)
downloadop-kernel-dev-a29fd614a6af57610b1963e3445f1758c3806187.zip
op-kernel-dev-a29fd614a6af57610b1963e3445f1758c3806187.tar.gz
drivers/base/core.c: use strreplace()
This eliminates a little .text and avoids repeating the strchr call when we meet a '!' (which will happen at least once). Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/bfs/dir.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud