staging: rtl8188eu: hal: Drop Useless Initialization
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Tue, 23 Feb 2016 21:27:06 +0000 (02:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commit3edd192bb86c40833230fa57899d2f8718e29812
treedc5c277e87247eb09668591fcc0d3ce7c07c5674
parent47b67704a1f72700e374ad5a50b9ce9c0939eed7
staging: rtl8188eu: hal: Drop Useless Initialization

Removed initialisation of a varible if it is immediately reassigned.
Changes were made using Coccinelle.
@bad@
identifier i;
position p;
@@

i =@p <+...i...+>;

@@
type T;
constant C;
expression e;
identifier i;
position p != bad.p;
@@
T i
- = C
;
i =@p e;

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c