OSDN Git Service

media: staging: rkisp1: remove unused field alloc_ctx from struct rkisp1_device
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Mon, 29 Jun 2020 06:57:52 +0000 (08:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 12:05:50 +0000 (14:05 +0200)
The field alloc_ctx in struct rkisp1_device is not used.
This patch removes it.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-common.h

index 3f06218..2af8ffa 100644 (file)
@@ -264,7 +264,6 @@ struct rkisp1_device {
        struct rkisp1_stats stats;
        struct rkisp1_params params;
        struct media_pipeline pipe;
-       struct vb2_alloc_ctx *alloc_ctx;
        struct mutex stream_lock;
        struct rkisp1_debug debug;
 };