mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
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:
parent
7d8fa0ee43
commit
d93c0a7923
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user