media: staging: media: atomisp: Removed a superfluous else clause

Fixed a coding style issue.

Signed-off-by: Martiros Shakhzadyan <vrzh@vrzh.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Martiros Shakhzadyan 2021-04-12 04:35:56 +02:00 committed by Mauro Carvalho Chehab
parent d58f75de9b
commit 047d39c4a1
1 changed files with 5 additions and 5 deletions

View File

@ -774,11 +774,11 @@ static int ov2722_s_power(struct v4l2_subdev *sd, int on)
if (on == 0)
return power_down(sd);
else {
ret = power_up(sd);
if (!ret)
return ov2722_init(sd);
}
ret = power_up(sd);
if (!ret)
return ov2722_init(sd);
return ret;
}