usb: gadget: fastboot: Always remove temporary file
We should consistently remove the temporary image file, regardless
of the error code. To do so, always jump to the end of the function
where the temporary file is removed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 09788a0 commit 41185879b2d620987dec99e77d004c3b2cc39ac3
@Sascha Hauer Sascha Hauer authored on 2 Feb 2018
Showing 1 changed file
View
drivers/usb/gadget/f_fastboot.c