]> git.baikalelectronics.ru Git - kernel.git/commit
wusb: delete double assignment
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 23 Aug 2014 18:33:26 +0000 (20:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 05:03:54 +0000 (22:03 -0700)
commit3eef1dbdb12d8ad4e3e7ec97f5e31c69b5922885
tree2dc8336bfa685637f8e1ecce9f78278b4179cb53
parent55e661bb4f0089636e260e58cf7cbf883e89c27a
wusb: 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.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/wusbcore/crypto.c