diff mbox

i2c: fix semicolon.cocci warnings

Message ID 20170614134715.GA23099@xian.lkp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

kernel test robot June 14, 2017, 1:47 p.m. UTC
drivers/media/i2c/ov5670.c:2001:2-3: Unneeded semicolon
drivers/media/i2c/ov5670.c:2033:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 ov5670.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

--- a/drivers/media/i2c/ov5670.c
+++ b/drivers/media/i2c/ov5670.c
@@ -1998,7 +1998,7 @@  static int ov5670_set_ctrl(struct v4l2_c
 	__v4l2_ctrl_modify_range(ov5670->exposure, ov5670->exposure->minimum,
 				 max, ov5670->exposure->step, max);
 	break;
-	};
+	}
 
 	/* V4L2 controls values will be applied only when power is already up */
 	if (pm_runtime_get_if_in_use(&client->dev) <= 0)
@@ -2030,7 +2030,7 @@  static int ov5670_set_ctrl(struct v4l2_c
 		dev_info(&client->dev, "%s Unhandled id:0x%x, val:0x%x\n",
 			 __func__, ctrl->id, ctrl->val);
 		break;
-	};
+	}
 
 	pm_runtime_put(&client->dev);