summaryrefslogtreecommitdiffstats
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-06-09 11:16:36 +0900
committerMichal Marek <mmarek@suse.cz>2014-06-10 14:59:33 +0200
commit1ecc8e489abfdaa6d8d1689f7ff62fdf1adda30c (patch)
treedf9789b38ae64da51d35cfb01a156a878156902c /scripts/objdiff
parent5ab370e91af70d5f1b1dbaec78798a2ff236a2d5 (diff)
downloadtalos-obmc-linux-1ecc8e489abfdaa6d8d1689f7ff62fdf1adda30c.tar.gz
talos-obmc-linux-1ecc8e489abfdaa6d8d1689f7ff62fdf1adda30c.zip
scripts: objdiff: remove unnecessary code
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@jp.panasonic.com> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/objdiff')
-rwxr-xr-xscripts/objdiff2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/objdiff b/scripts/objdiff
index cc6736553958..6e72f9645983 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##*/}"
OpenPOWER on IntegriCloud