]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rdma: ipath: ipath_eeprom: Remove useless intialisation
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Thu, 15 Oct 2015 08:20:56 +0000 (13:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:01:02 +0000 (23:01 -0700)
commit4b4a2a28ed5c9fd7802a79a6f2958158a464881c
tree648dbb0b68db339dae4ed22c86946f427b6745b4
parentcfe8f890ef81bcb632ca962e55e56baa810d8f36
staging: rdma: ipath: ipath_eeprom: 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/rdma/ipath/ipath_eeprom.c