USB: gadget: amd5536udc.c: delete double assignment
authorJulia Lawall <julia@diku.dk>
Tue, 26 Oct 2010 10:25:31 +0000 (12:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 11 Nov 2010 13:51:15 +0000 (05:51 -0800)
commit8b455561d28bcfac17d6910e64c616cf684da07f
tree471f6588a7d59399ef05051d6c17d417618773ca
parent06c3859fc9bd62edb7211b241eadd0cdc8ecbecd
USB: gadget: amd5536udc.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>
Acked-by: Thomas Dahlmann <dahlmann.thomas@arcor.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/amd5536udc.c