]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: refactor add_key() to avoid duplicated code
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 23 Apr 2018 16:33:18 +0000 (22:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:54:14 +0000 (15:54 +0200)
commit40fb8431355b6f68a3e93017d9feb4eb83f97151
treed9584653ddf4eacb902eb991617f5734cad11ed7
parent5f8662b7757ff0a8db349f686c54378fee378ba6
staging: wilc1000: refactor add_key() to avoid duplicated code

Cleanup fixes by removing the duplicated code in actor add_key().

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/wilc_wfi_cfgoperations.c