Skip to content

Commit

Permalink
scripts: objdiff: remove unnecessary code
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Jason Cooper <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
masahir0y authored and michal42 committed Jun 10, 2014
1 parent 5ab370e commit 1ecc8e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/objdiff
Original file line number Diff line number Diff line change
Expand Up @@ -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##*/}"
Expand Down

0 comments on commit 1ecc8e4

Please sign in to comment.