dma-mapping: remove an outdated comment from dma-map-ops.h
authorSui Jingfeng <sui.jingfeng@linux.dev>
Wed, 23 Oct 2024 03:25:44 +0000 (11:25 +0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Oct 2024 07:53:37 +0000 (08:53 +0100)
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: 6d4e9a8efe3d ("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>
include/linux/dma-map-ops.h

index b777320..e172522 100644 (file)
@@ -242,7 +242,7 @@ static inline bool dev_is_dma_coherent(struct device *dev)
 {
        return true;
 }
-#endif /* CONFIG_ARCH_HAS_DMA_COHERENCE_H */
+#endif
 
 static inline void dma_reset_need_sync(struct device *dev)
 {