summaryrefslogtreecommitdiffstats
path: root/commands/uimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/uimage.c')
-rw-r--r--commands/uimage.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/commands/uimage.c b/commands/uimage.c
index 7c2dca4..982da71 100644
--- a/commands/uimage.c
+++ b/commands/uimage.c
@@ -13,11 +13,7 @@ static int uimage_fd;
static int uimage_flush(void *buf, unsigned int len)
{
- int ret;
-
- ret = write_full(uimage_fd, buf, len);
-
- return ret;
+ return write_full(uimage_fd, buf, len);
}
static int do_uimage(int argc, char *argv[])