summaryrefslogtreecommitdiff
path: root/chip/stm32/usart_tx_dma.h
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2017-12-14 13:32:43 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-12-18 20:32:58 -0800
commitbbb40ce21d7a972c812621091390a994c6fce4b6 (patch)
treec4dd22d3473e7324a62bf00cf975721c432b264a /chip/stm32/usart_tx_dma.h
parent6aa967e4bbbdf28e0d9f5e537ccf4cbd76665b68 (diff)
downloadchrome-ec-bbb40ce21d7a972c812621091390a994c6fce4b6.tar.gz
consumer: Remove flush operation
Nobody is calling the flush function for consumer_ops structure, so let's remove it to save flash space, until we find a use for it. CQ-DEPEND=CL:*529221 BRANCH=none BUG=chromium:795624 TEST=make buildall -j, saves from 40 to 128 bytes on some boards. Change-Id: Iad18b30f419ccebc54a90914ec46da84b8d19601 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/826905 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/stm32/usart_tx_dma.h')
-rw-r--r--chip/stm32/usart_tx_dma.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/chip/stm32/usart_tx_dma.h b/chip/stm32/usart_tx_dma.h
index 33a97395ad..e517aa847b 100644
--- a/chip/stm32/usart_tx_dma.h
+++ b/chip/stm32/usart_tx_dma.h
@@ -34,7 +34,6 @@
.usart_tx = { \
.consumer_ops = { \
.written = usart_tx_dma_written,\
- .flush = usart_tx_dma_flush, \
}, \
\
.init = usart_tx_dma_init, \