drivers/media/platform/stm32/stm32-dcmi.c:808:2-3: Unneeded semicolon drivers/media/platform/stm32/stm32-dcmi.c:562:2-3: Unneeded semicolon drivers/media/platform/stm32/stm32-dcmi.c:762:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: a8a270dedb25 ("stm32-dcmi: crop sensor image to match user resolution") CC: Hugues Fruchet <hugues.fruchet@xxxxxx> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx> --- stm32-dcmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/media/platform/stm32/stm32-dcmi.c +++ b/drivers/media/platform/stm32/stm32-dcmi.c @@ -559,7 +559,7 @@ static int dcmi_start_streaming(struct v /* Enable crop */ val |= CR_CROP; - }; + } reg_write(dcmi->regs, DCMI_CR, val); @@ -759,7 +759,7 @@ static int dcmi_try_fmt(struct stm32_dcm /* Restore width/height */ pixfmt->width = width; pixfmt->height = height; - }; + } pixfmt->field = V4L2_FIELD_NONE; pixfmt->bytesperline = pixfmt->width * dcmi_fmt->bpp; @@ -805,7 +805,7 @@ static int dcmi_set_fmt(struct stm32_dcm mf->width, mf->height, dcmi->crop.width, dcmi->crop.height, dcmi->crop.left, dcmi->crop.top); - }; + } dcmi->fmt = *f; dcmi->current_fmt = current_fmt;