Skip to contentSkip to conversation

drivers/media/dvb-frontends/tda10071.c: removes unnecessary semicolon

PATCH Applied Peter Senna Tschudin 2 participants 2 messages Sep 7, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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/

---
 drivers/media/dvb-frontends/tda10071.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/media/dvb-frontends/tda10071.c +2 -2
diff -u -p 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 on v1 9/10
#1 lore raw
Quoted 26 lines · Peter Senna Tschudin

From: Peter Senna Tschudin <[email protected]>

removes unnecessary semicolon

Found by Coccinelle: http://coccinelle.lip6.fr/

---
  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

drivers/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_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 */
 

Antti

Signature · 1 line
http://palosaari.fi/