summaryrefslogtreecommitdiff
path: root/drivers/staging/media/atomisp/include/linux/atomisp.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-06-15 23:50:05 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-07-08 18:22:30 +0300
commitca1ce57ae76d67457789e236f8d46a5434047752 (patch)
treedceead20d2e5a83b407fca98a1c22d56aaec1bdc /drivers/staging/media/atomisp/include/linux/atomisp.h
parentf94059f86ee5f02354580fe8a3071c4785c1f4f0 (diff)
downloadlinux-ca1ce57ae76d67457789e236f8d46a5434047752.tar.xz
media: atomisp: drop ATOMISP_MAP_FLAG_CONTIGUOUS
Drop the ATOMISP_MAP_FLAG_CONTIGUOUS hmm_alloc flag. After the contiguous flag removal done in previous patches in this series it is never set. And hmm_alloc already did a WARN_ON on the flag and otherwise ignored it, proving that contiguous support was already never used. Link: https://lore.kernel.org/linux-media/20220615205037.16549-9-hdegoede@redhat.com Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/include/linux/atomisp.h')
-rw-r--r--drivers/staging/media/atomisp/include/linux/atomisp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/include/linux/atomisp.h b/drivers/staging/media/atomisp/include/linux/atomisp.h
index 22c4103b0385..a6ec9691afb2 100644
--- a/drivers/staging/media/atomisp/include/linux/atomisp.h
+++ b/drivers/staging/media/atomisp/include/linux/atomisp.h
@@ -915,8 +915,7 @@ struct atomisp_acc_map {
#define ATOMISP_MAP_FLAG_NOFLUSH 0x0001 /* Do not flush cache */
#define ATOMISP_MAP_FLAG_CACHED 0x0002 /* Enable cache */
-#define ATOMISP_MAP_FLAG_CONTIGUOUS 0x0004
-#define ATOMISP_MAP_FLAG_CLEARED 0x0008
+#define ATOMISP_MAP_FLAG_CLEARED 0x0004
struct atomisp_acc_state {
__u32 flags; /* Flags, see list below */