usb:gadget:f_thor: download_tail(): remove dfu_write with 0 size
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 12 May 2014 10:05:34 +0000 (12:05 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 14 May 2014 22:23:56 +0000 (00:23 +0200)
commit584b55b072a94de94b3fe0d54defae87795237d7
treede9cc7720c2505d085e242098f6ec8b42c83d153
parent1aa4bdc82db1e0393a461e0cd908d88418e1f632
usb:gadget:f_thor: download_tail(): remove dfu_write with 0 size

Since dfu_flush() can write raw data, dfu_write() with zero size
can be removed from download_tail() in thor gadget.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/f_thor.c