From: Fabio Estevam Date: Sat, 4 May 2019 14:40:24 +0000 (-0400) Subject: media: imx7-media-csi: Remove unneeded break X-Git-Tag: v5.4-rc1~145^2~631 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=964fcacddff4f0fd141a4c9d6fbd996e21cee6eb;p=platform%2Fkernel%2Flinux-rpi.git media: imx7-media-csi: Remove unneeded break Remove unneeded 'break' right after the 'return' statement as pointed out by checkpatch. Signed-off-by: Fabio Estevam Tested-by: Rui Miguel Silva Reviewed-by: Rui Miguel Silva Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c index a79b6f4..5244985 100644 --- a/drivers/staging/media/imx/imx7-media-csi.c +++ b/drivers/staging/media/imx/imx7-media-csi.c @@ -1003,7 +1003,6 @@ static int imx7_csi_try_fmt(struct imx7_csi *csi, break; default: return -EINVAL; - break; } return 0; }