Skip to content

Commit 5935b83

Browse files
suijingfengChristoph Hellwig
authored andcommitted
dma-mapping: remove an outdated comment from dma-map-ops.h
The "/* CONFIG_ARCH_HAS_DMA_COHERENCE_H */" was an description about the ARCH_HAS_DMA_COHERENCE_H configure option, but it has been removed since the dma_default_coherent variable was lifted from the mips architecture to the driver core. Therefore it doesn't match any compile guard now. Just remove it. Fixes: 6d4e9a8 ("driver core: lift dma_default_coherent into common code") Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev> Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent 150745b commit 5935b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/dma-map-ops.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ static inline bool dev_is_dma_coherent(struct device *dev)
242242
{
243243
return true;
244244
}
245-
#endif /* CONFIG_ARCH_HAS_DMA_COHERENCE_H */
245+
#endif
246246

247247
static inline void dma_reset_need_sync(struct device *dev)
248248
{

0 commit comments

Comments
 (0)