diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h index 1702e4c0988c..5a464d67e1a5 100644 --- a/include/media/videobuf2-core.h +++ b/include/media/videobuf2-core.h @@ -591,9 +591,6 @@ struct vb2_queue { */ static inline bool vb2_queue_allows_cache_hints(struct vb2_queue *q) { -#ifdef CONFIG_ARCH_ROCKCHIP - return q->allow_cache_hints; -#endif return q->allow_cache_hints && q->memory == VB2_MEMORY_MMAP; }