From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gytlJ-0006wg-0C for barebox@lists.infradead.org; Wed, 27 Feb 2019 07:36:18 +0000 Date: Wed, 27 Feb 2019 08:36:15 +0100 From: Sascha Hauer Message-ID: <20190227073615.d76ke3qpxvm5ywig@pengutronix.de> References: <20190226200636.2364-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190226200636.2364-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] commands: uimage: Drop needless variable in uimage_flush() To: Andrey Smirnov Cc: barebox@lists.infradead.org On Tue, Feb 26, 2019 at 12:06:36PM -0800, Andrey Smirnov wrote: > Signed-off-by: Andrey Smirnov > --- > commands/uimage.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) Applied, thanks Sascha > > diff --git a/commands/uimage.c b/commands/uimage.c > index 7c2dca41e..982da7101 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[]) > -- > 2.20.1 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox