From: Dan Williams Date: Sat, 1 Mar 2008 14:51:29 +0000 (-0700) Subject: dmaengine: fix sparse warning X-Git-Tag: v2.6.25-rc4~94^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec8670f1f795badedaa056a3a3245b9b82201747;p=linux-2.6 dmaengine: fix sparse warning include/linux/dmaengine.h:364:2: warning: returning void-valued expression Signed-off-by: Dan Williams --- diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index acbb364674..261e43a4c8 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -366,7 +366,7 @@ __dma_has_cap(enum dma_transaction_type tx_type, dma_cap_mask_t *srcp) */ static inline void dma_async_issue_pending(struct dma_chan *chan) { - return chan->device->device_issue_pending(chan); + chan->device->device_issue_pending(chan); } #define dma_async_memcpy_issue_pending(chan) dma_async_issue_pending(chan)