]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgnc: dgnc_tty: Remove useless initialisation
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Thu, 15 Oct 2015 08:25:45 +0000 (13:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:56:23 +0000 (22:56 -0700)
commit9e613d4006bd1c97d3b4499ba13013595d4bdd11
treebc0f5b02851c83544100bfc3f7b82aebe71fbe2f
parent3512609b877cfed1bffb6b37c6a4986a88fe8453
staging: dgnc: dgnc_tty: Remove useless initialisation

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/dgnc/dgnc_tty.c