From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 21 Apr 2014 17:08:49 +0200 Subject: [U-Boot] [PATCH v2 1/2] usb:gadget:f_thor: code cleanup in function download_tail() In-Reply-To: <1397807305-6532-1-git-send-email-p.marczak@samsung.com> References: <1397755860-20134-1-git-send-email-p.marczak@samsung.com> <1397807305-6532-1-git-send-email-p.marczak@samsung.com> Message-ID: <201404211708.49435.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, April 18, 2014 at 09:48:24 AM, Przemyslaw Marczak wrote: > In thor's download_tail() function, dfu_get_entity() is called > before each dfu_write() call and the returned entity pointers > are the same. So dfu_get_entity() can be called just once and > this patch changes this. > > Signed-off-by: Przemyslaw Marczak > Cc: Lukasz Majewski > Cc: Marek Vasut > Cc: Heiko Schocher > Cc: Tom Rini Acked-by: Marek Vasut Best regards, Marek Vasut