diff mbox series

media: dvb-frontends: cx24117: Delete 'break' after 'goto'

Message ID 20210618071757.76236-1-lijian_8010a29@163.com
State New
Headers show
Series media: dvb-frontends: cx24117: Delete 'break' after 'goto' | expand

Commit Message

lijian_8010a29@163.com June 18, 2021, 7:17 a.m. UTC
From: lijian <lijian@yulong.com>

break is not useful after a goto, so delete 'break' after 'goto'.

Signed-off-by: lijian <lijian@yulong.com>
---
 drivers/media/dvb-frontends/cx24117.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/media/dvb-frontends/cx24117.c b/drivers/media/dvb-frontends/cx24117.c
index 9fccc906d85a..ac6e47d81b9e 100644
--- a/drivers/media/dvb-frontends/cx24117.c
+++ b/drivers/media/dvb-frontends/cx24117.c
@@ -1172,7 +1172,6 @@  struct dvb_frontend *cx24117_attach(const struct cx24117_config *config,
 			"%s: Error attaching frontend %d\n",
 			KBUILD_MODNAME, demod);
 		goto error1;
-		break;
 	case 1:
 		/* new priv instance */
 		priv->i2c = i2c;