public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: dvb-frontends: dib0090: Delete 'break' after 'goto'
@ 2021-06-18  7:07 lijian_8010a29
  2021-06-19  8:15 ` Sean Young
  0 siblings, 1 reply; 2+ messages in thread
From: lijian_8010a29 @ 2021-06-18  7:07 UTC (permalink / raw)
  To: gustavoars, mchehab, hverkuil-cisco; +Cc: linux-media, linux-kernel, lijian

From: lijian <lijian@yulong.com>

break is not useful after a goto, so delete 'break' after 'goto',
and delete reused 'goto identification_error;'.

Signed-off-by: lijian <lijian@yulong.com>
---
 drivers/media/dvb-frontends/dib0090.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/media/dvb-frontends/dib0090.c b/drivers/media/dvb-frontends/dib0090.c
index 903da33642df..9179fe1bd713 100644
--- a/drivers/media/dvb-frontends/dib0090.c
+++ b/drivers/media/dvb-frontends/dib0090.c
@@ -403,8 +403,6 @@ static int dib0090_identify(struct dvb_frontend *fe)
 			break;
 		case P1A_B:
 			dprintk("P1-A/B detected: driver is deactivated - not available\n");
-			goto identification_error;
-			break;
 		default:
 			goto identification_error;
 		}
@@ -493,8 +491,6 @@ static int dib0090_fw_identify(struct dvb_frontend *fe)
 			break;
 		case P1A_B:
 			dprintk("P1-A/B detected: driver is deactivated - not available\n");
-			goto identification_error;
-			break;
 		default:
 			goto identification_error;
 		}
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-19  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-18  7:07 [PATCH] media: dvb-frontends: dib0090: Delete 'break' after 'goto' lijian_8010a29
2021-06-19  8:15 ` Sean Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox