OSDN Git Service

staging: unisys: Remove useless intialisation
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 14 Oct 2015 21:52:22 +0000 (03:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:59:36 +0000 (22:59 -0700)
commit8d53d80b12c9683d51b8649a74b6c09ca0c15f8a
treea6990ccd01649cac9ca2c497f9b0fa1403cb7511
parent7eb1f7a09bcc1c5f10241d85bee65e786558f171
staging: unisys: Remove useless intialisation

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/unisys/visorinput/visorinput.c