aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-06-08 22:16:36 -0400
committerMichal Marek <mmarek@suse.cz>2014-06-10 08:59:33 -0400
commit1ecc8e489abfdaa6d8d1689f7ff62fdf1adda30c (patch)
treedf9789b38ae64da51d35cfb01a156a878156902c /scripts
parent5ab370e91af70d5f1b1dbaec78798a2ff236a2d5 (diff)
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')
-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() {
52 OBJDUMP="${CROSS_COMPILE}objdump" 52 OBJDUMP="${CROSS_COMPILE}objdump"
53 OBJDIFFD="$TMPD/$CMT" 53 OBJDIFFD="$TMPD/$CMT"
54 54
55 [ ! -d "$OBJDIFFD" ] && mkdir -p "$OBJDIFFD"
56
57 for f in $FILES; do 55 for f in $FILES; do
58 dn="${f%/*}" 56 dn="${f%/*}"
59 bn="${f##*/}" 57 bn="${f##*/}"