drivers/media/dvb-frontends/tda10071.c: removes unnecessary semicolon
Subsystems (3)
PATCH 9/10 drivers/media/dvb-frontends/tda10071.c: removes unnecessary semicolon
From: Peter Senna Tschudin <[email protected]>
removes unnecessary semicolon
Found by Coccinelle: http://coccinelle.lip6.fr/
Signed-off-by Peter Senna Tschudin <[email protected]>
--- drivers/media/dvb-frontends/tda10071.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/media/dvb-frontends/tda10071.c +2 -2
@@ -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_reif (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 */
Quoted 26 lines · Peter Senna Tschudin
From: Peter Senna Tschudin <[email protected]>
removes unnecessary semicolon
Found by Coccinelle: http://coccinelle.lip6.fr/
Signed-off-by Peter Senna Tschudin <[email protected]>--- drivers/media/dvb-frontends/tda10071.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)diff -u -p
a/drivers/media/dvb-frontends/tda10071.cb/drivers/media/dvb-frontends/tda10071.cdrivers/media/dvb-frontends/tda10071.c +1
-1@@ -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 ;
drivers/media/dvb-frontends/tda10071.c static int tda10071_diseqc_recv_slave_re · line 375
Quoted 8 lines
drivers/media/dvb-frontends/tda10071.c +1
-1@@ -369,7 +369,7 @@ static int tda10071_diseqc_recv_slave_reif (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 <[email protected]>
Antti
Signature · 1 line
http://palosaari.fi/