summaryrefslogtreecommitdiff
path: root/drivers/staging/media/atomisp/include/linux
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-06-15 23:50:23 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-07-08 18:22:57 +0300
commit90612317325bb0b39c999e3a6f9da69597c5016f (patch)
tree152e81b38018066de29db92ea662fe782b77166a /drivers/staging/media/atomisp/include/linux
parent9f40d3a79dd69b9d7a684db2cad0217a456de372 (diff)
downloadlinux-90612317325bb0b39c999e3a6f9da69597c5016f.tar.xz
media: atomisp: drop unused ATOMISP_MAP_FLAG_* flags
Drop the ATOMISP_MAP_FLAG_CACHED flag, it is never set anywhere; also drop the matching "cached" parameter to hmm[_bo]_alloc which value was derived form the never set flag. Drop the ATOMISP_MAP_FLAG_NOFLUSH, it is not used anywhere. Link: https://lore.kernel.org/linux-media/20220615205037.16549-27-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')
-rw-r--r--drivers/staging/media/atomisp/include/linux/atomisp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/media/atomisp/include/linux/atomisp.h b/drivers/staging/media/atomisp/include/linux/atomisp.h
index 752c09e64a5d..f96f5adbd9de 100644
--- a/drivers/staging/media/atomisp/include/linux/atomisp.h
+++ b/drivers/staging/media/atomisp/include/linux/atomisp.h
@@ -825,9 +825,6 @@ struct atomisp_s_runmode {
__u32 mode;
};
-#define ATOMISP_MAP_FLAG_NOFLUSH 0x0001 /* Do not flush cache */
-#define ATOMISP_MAP_FLAG_CACHED 0x0002 /* Enable cache */
-
struct atomisp_update_exposure {
unsigned int gain;
unsigned int digi_gain;