diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-06-25 15:02:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-25 17:00:40 -0700 |
commit | 90a9befb20bd455b167b02d4018b5e882da76505 (patch) | |
tree | 0878fada6fa7e294a99e0087069d81aeaaa80a94 /usr | |
parent | a29fd614a6af57610b1963e3445f1758c3806187 (diff) |
drivers/md/md.c: use strreplace()
There's no point in starting over when we meet a '/'. This also
eliminates a stack variable and a little .text.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions