dmaengine: fix sparse warning
authorDan Williams <dan.j.williams@intel.com>
Sat, 1 Mar 2008 14:51:29 +0000 (07:51 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 4 Mar 2008 17:16:46 +0000 (10:16 -0700)
include/linux/dmaengine.h:364:2: warning: returning void-valued expression

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
include/linux/dmaengine.h

index acbb364674ff1f8516f50747d0d48375f15df49a..261e43a4c873042c687138db87e9e1a242e6ffd8 100644 (file)
@@ -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)