From: Rasmus Villemoes Date: Thu, 25 Jun 2015 22:02:36 +0000 (-0700) Subject: drivers/md/md.c: use strreplace() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~106^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90a9befb20bd455b167b02d4018b5e882da76505;p=pandora-kernel.git 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 Acked-by: NeilBrown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed