This is an automatic generated email to let you know that the following patch
were queued at the
http://git.linuxtv.org/v4l-dvb.git tree:
Subject: V4L/DVB: drivers/media/dvb/frontends: remove duplicate structure field
initialization
Author: Julia Lawall <[email protected]>
Date: Sun Jun 20 10:40:37 2010 -0300
The read_status field is initialized twice to the same value.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@r@
identifier I, s, fld;
position p0,p;
expression E;
@@
struct I s =...@p0 { ... ....@p = E, ...};
@s@
identifier I, s, r.fld;
position r.p0,p;
expression E;
@@
struct I s =...@p0 { ... ....@p = E, ...};
@script:python@
p0 << r.p0;
fld << r.fld;
ps << s.p;
pr << r.p;
@@
if int(ps[0].line)<int(pr[0].line) or int(ps[0].column)<int(pr[0].column):
cocci.print_main(fld,p0)
// </smpl>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/dvb/frontends/mb86a16.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=c35e34c97e737e08c1c3bd79bf2881a1810aa5d4
diff --git a/drivers/media/dvb/frontends/mb86a16.c
b/drivers/media/dvb/frontends/mb86a16.c
index 599d1aa..33b6323 100644
--- a/drivers/media/dvb/frontends/mb86a16.c
+++ b/drivers/media/dvb/frontends/mb86a16.c
@@ -1833,7 +1833,6 @@ static struct dvb_frontend_ops mb86a16_ops = {
.get_frontend_algo = mb86a16_frontend_algo,
.search = mb86a16_search,
- .read_status = mb86a16_read_status,
.init = mb86a16_init,
.sleep = mb86a16_sleep,
.read_status = mb86a16_read_status,
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits