summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Qing <wangqing@vivo.com>2021-03-12 10:19:12 +0800
committerChristoph Hellwig <hch@lst.de>2021-03-19 14:13:14 +0100
commit84fcfbdadbfdd86c9a43a52703203e05fe7efd92 (patch)
treecd8234fa500ebf2cf3a2c86214bfd81b0d07d199
parent20e1dbf2bbe2431072571000ed31dfef09359c08 (diff)
dma-mapping: remove a pointless empty line in dma_alloc_coherent
Signed-off-by: Wang Qing <wangqing@vivo.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--include/linux/dma-mapping.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index 954847f9a3e0..e9d19b974f26 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -435,7 +435,6 @@ static inline void dma_sync_sgtable_for_device(struct device *dev,
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t gfp)
{
-
return dma_alloc_attrs(dev, size, dma_handle, gfp,
(gfp & __GFP_NOWARN) ? DMA_ATTR_NO_WARN : 0);
}