commit | 43103ed0c2d3a64cd2ef94994b34a2cb5a46cd02 | [log] [tgz] |
---|---|---|
author | Ajay Singh <ajay.kathat@microchip.com> | Fri May 11 13:43:03 2018 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 14 14:04:47 2018 +0200 |
tree | 335a65ce13ed34f88e011d461d52bcd068d626c7 | |
parent | bcafa651d318857b7b65b9c5327216e64434cff4 [diff] |
staging: wilc1000: remove 'ret' variable in handle_key() Remove the use of unnecessary 'ret' variable and use existing 'result' variable to hold the status. Also changed type of 'result' from s32 to int to confirm with the function return type. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>