diff mbox series

[6/8] media: imx7-media-csi: Remove unneeded break

Message ID 20190504144027.31920-5-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/8] media: dt-bindings: imx7-csi: Document a single CSI clock | expand

Commit Message

Fabio Estevam May 4, 2019, 2:40 p.m. UTC
Remove unneeded 'break' right after the 'return' statement as
pointed out by checkpatch.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/staging/media/imx/imx7-media-csi.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c
index 88265cd133ab..d1ecdcfc792e 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;
 }