summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/f_dfu.h
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2016-12-16 18:41:32 +0100
committerMarek Vasut <marex@denx.de>2017-02-26 13:24:30 +0100
commitd428776657154f57b89913ffb0c5a23cb5b595f7 (patch)
tree64a6dadc1761ccc14dab837f764866a215fa1493 /drivers/usb/gadget/f_dfu.h
parentf11bb2524541556682b83ee694829208b960b56c (diff)
usb: gadget: dfu: add result for handle_getstatus()
harmonize result with other handle_XXX() functions: return int for size remove the define RET_STAT_LEN : no more necessary Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
Diffstat (limited to 'drivers/usb/gadget/f_dfu.h')
-rw-r--r--drivers/usb/gadget/f_dfu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_dfu.h b/drivers/usb/gadget/f_dfu.h
index 0c29954add..a2565774e1 100644
--- a/drivers/usb/gadget/f_dfu.h
+++ b/drivers/usb/gadget/f_dfu.h
@@ -51,7 +51,6 @@
#define RET_STALL -1
#define RET_ZLP 0
-#define RET_STAT_LEN 6
enum dfu_state {
DFU_STATE_appIDLE = 0,