media: platform: Delete redundant code and add annotation for an enum
authorXia Jiang <xia.jiang@mediatek.com>
Fri, 14 Aug 2020 07:11:48 +0000 (09:11 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 28 Aug 2020 13:30:30 +0000 (15:30 +0200)
commit4b39c8f453b21718e589d849d49c5edf6713235d
treeb4cc01e58235cdd6170f09b28b2595f1605a9ccd
parentd43c93f2db82501af759499345d2a332183a0065
media: platform: Delete redundant code and add annotation for an enum

Delete unused member variables annotation.
Delete unused variable definition.
Delete redundant log print, because V4L2 debug logs already print it.
Add annotation for enum mtk_jpeg_ctx_state.

Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Xia Jiang <xia.jiang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h