[PATCH 3/7] scripts: objdiff: remove unnecessary code

From: Masahiro Yamada
Date: Fri May 30 2014 - 07:07:34 EST


The directories for objdump is created by the code
a few lines below:

[ ! -d "$OBJDIFFD/$dn" ] && mkdir -p "$OBJDIFFD/$dn"

Signed-off-by: Masahiro Yamada <yamada.m@xxxxxxxxxxxxxxxx>
Cc: Jason Cooper <jason@xxxxxxxxxxxxxx>
---

scripts/objdiff | 2 --
1 file changed, 2 deletions(-)

diff --git a/scripts/objdiff b/scripts/objdiff
index cc67365..6e72f96 100755
--- a/scripts/objdiff
+++ b/scripts/objdiff
@@ -52,8 +52,6 @@ dorecord() {
OBJDUMP="${CROSS_COMPILE}objdump"
OBJDIFFD="$TMPD/$CMT"

- [ ! -d "$OBJDIFFD" ] && mkdir -p "$OBJDIFFD"
-
for f in $FILES; do
dn="${f%/*}"
bn="${f##*/}"
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/