drivers/platform/x86/thinkpad_acpi.c: delete double assignment
commitd2aa64f4cfc667163de34d0c6725435e775e6b7c
authorJulia Lawall <julia@diku.dk>
Sat, 6 Aug 2011 02:58:08 +0000 (5 23:58 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 6 Aug 2011 02:58:08 +0000 (5 23:58 -0300)
treee4e527e3b517b44cc0545d09b7574b1add55bd1c
parent8921e442faa882eb360bbdcdfe88459a37d1677c
drivers/platform/x86/thinkpad_acpi.c: delete double assignment

Delete successive assignments to the same location.

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

// <smpl>
@@
expression i;
@@

*i = ...;
 i = ...;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/thinkpad_acpi.c