Skip to contentSkip to conversation

post-image: Drop unneeded exit statement

PATCH New Fabio Estevam 2 participants 2 messages Aug 1, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 post-image: Drop unneeded exit statement

From: Fabio Estevam <[email protected]>

There is no need for the 'exit' statement in the post-image scripts, so just remove it.

---
 board/freescale/imx25pdk/post-image.sh    | 2 --
 board/freescale/imx51evk/post-image.sh    | 2 --
 board/freescale/imx53loco/post-image.sh   | 2 --
 board/freescale/imx6ulevk/post-image.sh   | 2 --
 board/freescale/imx7dsdb/post-image.sh    | 2 --
 board/technexion/imx6ulpico/post-image.sh | 2 --
 6 files changed, 12 deletions(-)
board/freescale/imx25pdk/post-image.sh +0 -2
index 8757355..b4ac460 100755
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
board/freescale/imx51evk/post-image.sh +0 -2
index 8757355..b4ac460 100755
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
board/freescale/imx53loco/post-image.sh +0 -2
index 8757355..b4ac460 100755
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
board/freescale/imx6ulevk/post-image.sh +0 -2
index 8757355..b4ac460 100755
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
board/freescale/imx7dsdb/post-image.sh +0 -2
index 8757355..b4ac460 100755
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
board/technexion/imx6ulpico/post-image.sh +0 -2
index 8757355..b4ac460 100755
@@ -12,5 +12,3 @@ genimage \
   --inputpath "${BINARIES_DIR}" \
   --outputpath "${BINARIES_DIR}" \
   --config "${GENIMAGE_CFG}"
-
-exit $?
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 post-image: Drop unneeded exit statement

Hello,

Quoted 6 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

There is no need for the 'exit' statement in the post-image scripts, so just remove it.

Quoted 8 lines
---
 board/freescale/imx25pdk/post-image.sh    | 2 --
 board/freescale/imx51evk/post-image.sh    | 2 --
 board/freescale/imx53loco/post-image.sh   | 2 --
 board/freescale/imx6ulevk/post-image.sh   | 2 --
 board/freescale/imx7dsdb/post-image.sh    | 2 --
 board/technexion/imx6ulpico/post-image.sh | 2 --
 6 files changed, 12 deletions(-)

Applied to master, after reworking the commit title.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com