summaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-03-01 07:51:29 -0700
committerDan Williams <dan.j.williams@intel.com>2008-03-04 10:16:46 -0700
commitec8670f1f795badedaa056a3a3245b9b82201747 (patch)
treedbca9b272bcf13d7d4a4b86cfabdc396f685f488 /include/linux/dmaengine.h
parent222ccf9ab838a1ca7163969fabd2cddc10403fb5 (diff)
downloadlinux-ec8670f1f795badedaa056a3a3245b9b82201747.tar.gz
linux-ec8670f1f795badedaa056a3a3245b9b82201747.tar.bz2
linux-ec8670f1f795badedaa056a3a3245b9b82201747.zip
dmaengine: fix sparse warning
include/linux/dmaengine.h:364:2: warning: returning void-valued expression Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index acbb364674ff..261e43a4c873 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)