drivers/platform/x86/thinkpad_acpi.c: delete double assignment
commitfdcaf0f8a77db25982f3659a0849854d8ef81d1a
authorJulia Lawall <julia@diku.dk>
Sat, 3 Sep 2011 18:49:32 +0000 (3 15:49 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 13 Nov 2011 17:12:48 +0000 (13 15:12 -0200)
treebfa9694546ac0047d1e702fe0ccce25ffd852519
parent285917022a98e5d5dbd93f71bd4bf0fbbc538454
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