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)
commit49bf665801c746841dc9c44337bcbe09bf16327a
treea05409c6163a7cd917a19668b8f9a7bc9435a34b
parentb2f86aa18f895cb854a58e87d5b0bd369b33fecc
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