]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: free allocated memory after processing wilc_send_config_pkt()
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 26 Mar 2018 11:45:59 +0000 (17:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 11:38:47 +0000 (13:38 +0200)
commitdef71fdeea78bbfc55196f54c94b4a49d1114321
tree70facced77ee851f50750ba25fd6fb37d2db7529
parentc81c527f6953d41d9586a2e70f0fef5a9947197c
staging: wilc1000: free allocated memory after processing wilc_send_config_pkt()

Free allocated memory after completing wilc_send_config_pkt() function.
Remove unncessary use of 'stamac' pointer in handle_get_inactive_time().

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