Skip to content

Commit

Permalink
[media] drivers/media/dvb-frontends/tda10071.c: removes unnecessary s…
Browse files Browse the repository at this point in the history
…emicolon

removes unnecessary semicolon
Found by Coccinelle: http://coccinelle.lip6.fr/

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Peter Senna Tschudin authored and Mauro Carvalho Chehab committed Sep 23, 2012
1 parent 3ea0a1d commit 8f5c997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb-frontends/tda10071.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ static int tda10071_set_voltage(struct dvb_frontend *fe,
__func__);
ret = -EINVAL;
goto error;
};
}

cmd.args[0] = CMD_LNB_SET_DC_LEVEL;
cmd.args[1] = 0;
Expand Down Expand Up @@ -369,7 +369,7 @@ static int tda10071_diseqc_recv_slave_reply(struct dvb_frontend *fe,
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 */

Expand Down

0 comments on commit 8f5c997

Please sign in to comment.