]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: refactor host_int_parse_assoc_resp_info() to remove unused code
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 11 May 2018 08:13:31 +0000 (13:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:04:49 +0000 (14:04 +0200)
commit273170d8d8365e691d485d25c4dbb939d2ec2908
treea05409c6163a7cd917a19668b8f9a7bc9435a34b
parent8dd67d0ffdce8a89acfd7027dd2e70bc372e3fa6
staging: wilc1000: refactor host_int_parse_assoc_resp_info() to remove unused code

Remove 'connect_resp_info' structure as most of its elements are not used.

Modified wilc_parse_assoc_resp_info() to directly parse and fill value
in connect_info structure variable. Remove use of 'assoc_resp_len' variable.
get_assoc_resp_cap_info() & get_asoc_id() functions are remove as its
not used anymore.

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