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:
parent
d58f75de9b
commit
047d39c4a1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue