[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210618070707.4731-1-lijian_8010a29@163.com>
Date: Fri, 18 Jun 2021 15:07:07 +0800
From: lijian_8010a29@....com
To: gustavoars@...nel.org, mchehab@...nel.org, hverkuil-cisco@...all.nl
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
lijian <lijian@...ong.com>
Subject: [PATCH] media: dvb-frontends: dib0090: Delete 'break' after 'goto'
From: lijian <lijian@...ong.com>
break is not useful after a goto, so delete 'break' after 'goto',
and delete reused 'goto identification_error;'.
Signed-off-by: lijian <lijian@...ong.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
Powered by blists - more mailing lists