1
0
Fork 0
alistair23-linux/drivers/video/i810
Julia Lawall 073bf17261 i810: delete useless variable
Delete a variable that is at most only assigned to a constant, but never
used otherwise.

A simplified version of the semantic patch that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
type T;
identifier i;
constant c;
@@

-T i;
<... when != i
-i = c;
...>
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-01-17 10:57:50 +02:00
..
Makefile
i810-i2c.c drivers/video/i810/i810-i2c.c: fix i2c bus handling 2011-01-06 15:52:19 +09:00
i810.h treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
i810_accel.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i810_dvt.c i810fb: fix stack exploding 2009-12-16 07:20:02 -08:00
i810_gtf.c [PATCH] drivers/video/: possible cleanups 2006-01-10 08:01:56 -08:00
i810_main.c i810: delete useless variable 2014-01-17 10:57:50 +02:00
i810_main.h Drivers: video: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
i810_regs.h [PATCH] i810fb: Cleanup I2C code 2005-11-07 07:53:52 -08:00