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>
This commit is contained in:
committed by
Christoph Hellwig
parent
20e1dbf2bb
commit
84fcfbdadb
@@ -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,
|
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
|
||||||
dma_addr_t *dma_handle, gfp_t gfp)
|
dma_addr_t *dma_handle, gfp_t gfp)
|
||||||
{
|
{
|
||||||
|
|
||||||
return dma_alloc_attrs(dev, size, dma_handle, gfp,
|
return dma_alloc_attrs(dev, size, dma_handle, gfp,
|
||||||
(gfp & __GFP_NOWARN) ? DMA_ATTR_NO_WARN : 0);
|
(gfp & __GFP_NOWARN) ? DMA_ATTR_NO_WARN : 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user