From: Ravi Kumar Kairi <kumarkairiravi@xxxxxxxxx> The `lock` field in struct most_video_dev is never used anywhere in the codebase. Since it serves no purpose, remove it to clean up the structure. Signed-off-by: Ravi Kumar Kairi <kumarkairiravi@xxxxxxxxx> --- drivers/staging/most/video/video.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/most/video/video.c b/drivers/staging/most/video/video.c index 2b3cdb1ce1..bd51125698 100644 --- a/drivers/staging/most/video/video.c +++ b/drivers/staging/most/video/video.c @@ -40,8 +40,6 @@ struct most_video_dev { struct video_device *vdev; unsigned int ctrl_input; - struct mutex lock; - wait_queue_head_t wait_data; }; -- 2.48.1