staging: wilc1000: remove the use of cur_byte variable in functions
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 2 May 2018 07:13:40 +0000 (12:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:56:35 +0000 (13:56 -0700)
commit9572bf9bfcf7926b84a6828352f5ac731e34d277
treea4c893e57e9b6f4076cbec3dd714f71f8fec5a40
parent228d0422bbbec65e96308297c43b4f3347a5a6de
staging: wilc1000: remove the use of cur_byte variable in functions

Instead of using the intermediate variable to hold the value, now directly
using the allocated variable.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c