]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63e007e3700ad6d74cc49777e23961c70179111d
treea6990ccd01649cac9ca2c497f9b0fa1403cb7511
parent726243d84ead7dd42422cc37112e64598c37d519
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