drivers/platform/x86/thinkpad_acpi.c: delete double assignment
commit118ca0d0b5a71af10713a9e7a065f7fbdea9f817
authorJulia Lawall <julia@diku.dk>
Sun, 29 May 2011 19:37:34 +0000 (29 16:37 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 29 May 2011 19:38:59 +0000 (29 16:38 -0300)
tree506a0ce5fe6ee3534f4c60b33f7934834411cef6
parent5eee9ada74203d0293b10406b430778e2275c617
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