linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Peter Senna Tschudin <peter.senna@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	kernel-janitors@vger.kernel.org, Julia.Lawall@lip6.fr,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 9/10] drivers/media/dvb-frontends/tda10071.c: removes unnecessary semicolon
Date: Fri, 07 Sep 2012 19:00:50 +0300	[thread overview]
Message-ID: <504A1A32.1010005@iki.fi> (raw)
In-Reply-To: <1347031488-26598-5-git-send-email-peter.senna@gmail.com>

On 09/07/2012 06:24 PM, Peter Senna Tschudin wrote:
> From: Peter Senna Tschudin <peter.senna@gmail.com>
>
> removes unnecessary semicolon
>
> Found by Coccinelle: http://coccinelle.lip6.fr/
>
> Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
>
> ---
>   drivers/media/dvb-frontends/tda10071.c |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff -u -p a/drivers/media/dvb-frontends/tda10071.c b/drivers/media/dvb-frontends/tda10071.c
> --- a/drivers/media/dvb-frontends/tda10071.c
> +++ b/drivers/media/dvb-frontends/tda10071.c
> @@ -257,7 +257,7 @@ static int tda10071_set_voltage(struct d
>   				__func__);
>   		ret = -EINVAL;
>   		goto error;
> -	};
> +	}
>
>   	cmd.args[0] = CMD_LNB_SET_DC_LEVEL;
>   	cmd.args[1] = 0;
> @@ -369,7 +369,7 @@ static int tda10071_diseqc_recv_slave_re
>   	if (ret)
>   		goto error;
>
> -	reply->msg_len = tmp & 0x1f; /* [4:0] */;
> +	reply->msg_len = tmp & 0x1f; /* [4:0] */
>   	if (reply->msg_len > sizeof(reply->msg))
>   		reply->msg_len = sizeof(reply->msg); /* truncate API max */
>
>

Acked-by: Antti Palosaari <crope@iki.fi>

Antti
-- 
http://palosaari.fi/

      reply	other threads:[~2012-09-07 16:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07 15:24 [PATCH 9/10] drivers/media/dvb-frontends/tda10071.c: removes unnecessary semicolon Peter Senna Tschudin
2012-09-07 16:00 ` Antti Palosaari [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=504A1A32.1010005@iki.fi \
    --to=crope@iki.fi \
    --cc=Julia.Lawall@lip6.fr \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=peter.senna@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).