media: hi556: remove redundant assignment to variable enable

The variable enable is being assigned a value that is never read
afterwards. The assignment is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
Colin Ian King 2025-02-05 11:40:08 +00:00 committed by Hans Verkuil
parent 7d8fa0ee43
commit d93c0a7923

View File

@ -1053,7 +1053,6 @@ static int hi556_set_stream(struct v4l2_subdev *sd, int enable)
ret = hi556_start_streaming(hi556);
if (ret) {
enable = 0;
hi556_stop_streaming(hi556);
pm_runtime_put(&client->dev);
}