OSDN Git Service

staging: wlan-ng: Remove useless initialization
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 14 Oct 2015 20:12:11 +0000 (01:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:51:48 +0000 (22:51 -0700)
commitdf18b9304e3c8db6753519068cc2b8fb8cc6a40b
tree22e03e8df7fa7e8fbdbae17d492833ff3fb2880a
parent98b5afd833e8b9549418296ae2e02f273b0e7b01
staging: wlan-ng: Remove useless initialization

Remove intialisation of a variable that is immediately reassigned.

The semantic patch used to find this is:

// <smpl>
@@
type T;
identifier x;
constant C;
expression e;
@@

T x
- = C
 ;
x = e;
// </smpl>

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c