Re: [PATCH 1/1] dvb-frontends: remove unnecessary break after goto

From: Fabian Frederick
Date: Tue Jul 08 2014 - 15:14:38 EST


On Tue, 08 Jul 2014 21:35:58 +0300
Antti Palosaari <crope@xxxxxx> 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@xxxxxx>
> > Cc: Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx>
> > Cc: linux-media@xxxxxxxxxxxxxxx
> > Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
> > ---
> > 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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/