Message ID | 1404840181-29822-1-git-send-email-fabf@skynet.be (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Michael Krufky |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <linux-media-owner@vger.kernel.org>) id 1X4Z72-0001ib-4d; Tue, 08 Jul 2014 19:23:28 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.72/mailfrontend-8) with esmtp id 1X4Z70-0007Cu-jT; Tue, 08 Jul 2014 19:23:27 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753977AbaGHRXL (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Tue, 8 Jul 2014 13:23:11 -0400 Received: from mailrelay005.isp.belgacom.be ([195.238.6.171]:63523 "EHLO mailrelay005.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753405AbaGHRXK (ORCPT <rfc822;linux-media@vger.kernel.org>); Tue, 8 Jul 2014 13:23:10 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At4OAIQovFNXQDwH/2dsb2JhbABZgw6tHwUBAQEBAQEFAW4BmVmBGBd1hQOBGjeIRgHIMxeFeohkZB2ELQWEaQOWCpQMg0U7gTE Received: from 7.60-64-87.adsl-dyn.isp.belgacom.be (HELO linux-zvq9.site) ([87.64.60.7]) by relay.skynet.be with ESMTP; 08 Jul 2014 19:23:09 +0200 From: Fabian Frederick <fabf@skynet.be> To: linux-kernel@vger.kernel.org Cc: Fabian Frederick <fabf@skynet.be>, Antti Palosaari <crope@iki.fi>, Mauro Carvalho Chehab <m.chehab@samsung.com>, linux-media@vger.kernel.org Subject: [PATCH 1/1] dvb-frontends: remove unnecessary break after goto Date: Tue, 8 Jul 2014 19:23:01 +0200 Message-Id: <1404840181-29822-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 1.8.4.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.7.8.171521 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS ' |
Commit Message
Fabian Frederick
July 8, 2014, 5:23 p.m. UTC
Cc: Antti Palosaari <crope@iki.fi>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: linux-media@vger.kernel.org
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
drivers/media/dvb-frontends/af9013.c | 1 -
1 file changed, 1 deletion(-)
Comments
Moikka Fabian! I have no reason to decline that patch (I will apply it) even it has hardly meaning. But is there now some new tool which warns that kind of issues? regards Atnti On 07/08/2014 08:23 PM, Fabian Frederick wrote: > Cc: Antti Palosaari <crope@iki.fi> > Cc: Mauro Carvalho Chehab <m.chehab@samsung.com> > Cc: linux-media@vger.kernel.org > Signed-off-by: Fabian Frederick <fabf@skynet.be> > --- > drivers/media/dvb-frontends/af9013.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/dvb-frontends/af9013.c b/drivers/media/dvb-frontends/af9013.c > index fb504f1..ecf6388 100644 > --- a/drivers/media/dvb-frontends/af9013.c > +++ b/drivers/media/dvb-frontends/af9013.c > @@ -470,7 +470,6 @@ static int af9013_statistics_snr_result(struct dvb_frontend *fe) > break; > default: > goto err; > - break; > } > > for (i = 0; i < len; i++) { >
On Tue, 08 Jul 2014 21:35:58 +0300 Antti Palosaari <crope@iki.fi> wrote: > Moikka Fabian! > I have no reason to decline that patch (I will apply it) even it has > hardly meaning. But is there now some new tool which warns that kind of > issues? Hello Antti, Thanks :) AFAIK there's still no automatic detection of those cases. Regards, Fabian > > regards > Atnti > > > On 07/08/2014 08:23 PM, Fabian Frederick wrote: > > Cc: Antti Palosaari <crope@iki.fi> > > Cc: Mauro Carvalho Chehab <m.chehab@samsung.com> > > Cc: linux-media@vger.kernel.org > > Signed-off-by: Fabian Frederick <fabf@skynet.be> > > --- > > drivers/media/dvb-frontends/af9013.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/media/dvb-frontends/af9013.c b/drivers/media/dvb-frontends/af9013.c > > index fb504f1..ecf6388 100644 > > --- a/drivers/media/dvb-frontends/af9013.c > > +++ b/drivers/media/dvb-frontends/af9013.c > > @@ -470,7 +470,6 @@ static int af9013_statistics_snr_result(struct dvb_frontend *fe) > > break; > > default: > > goto err; > > - break; > > } > > > > for (i = 0; i < len; i++) { > > > > -- > http://palosaari.fi/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/media/dvb-frontends/af9013.c b/drivers/media/dvb-frontends/af9013.c index fb504f1..ecf6388 100644 --- a/drivers/media/dvb-frontends/af9013.c +++ b/drivers/media/dvb-frontends/af9013.c @@ -470,7 +470,6 @@ static int af9013_statistics_snr_result(struct dvb_frontend *fe) break; default: goto err; - break; } for (i = 0; i < len; i++) {