media: atomisp: i2c: Remove a superfluous else clause in atomisp-mt9m114.c
Subsystems (4)
PATCH 1/1 media: atomisp: i2c: Remove a superfluous else clause in atomisp-mt9m114.c
Remove a superfluous clause in mt9m114_s_power()
Signed-off-by Martiros Shakhzadyan <[email protected]>
--- drivers/staging/media/atomisp/i2c/atomisp-mt9m114.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
drivers/staging/media/atomisp/i2c/atomisp-mt9m114.c +5 -6
@@ -570,14 +570,13 @@ static int power_down(struct v4l2_subdev *sd)static int mt9m114_s_power (struct v4l2_subdev *sd,int power) { -if (power ==0 ) { +if (power ==0 )return power_down (sd); - }else { -if (power_up (sd)) -return -EINVAL ; -return mt9m114_init_common (sd); - } +if (power_up (sd)) +return -EINVAL ; + +return mt9m114_init_common (sd); }/*
Signature · 1 line
2.32.0