staging: wfx: remove duplicated code in wfx_cmd_send()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Fri, 25 Feb 2022 11:24:02 +0000 (12:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 13:00:29 +0000 (14:00 +0100)
commit1de8eec7c339700e266e9768258eb2e9625a0622
tree963161b74f56ab725148dcddc49f66fc8b1b6fd1
parenta564d55a0cc123b7ea844b7ca8e79c116914e416
staging: wfx: remove duplicated code in wfx_cmd_send()

The code to execute on end of the function is the same whatever the
command replies or not.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20220225112405.355599-8-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_tx.c