staging: r8188eu: we always enqueue in rtw_set_chplan_cmd
authorMartin Kaiser <martin@kaiser.cx>
Sat, 8 Jan 2022 12:49:59 +0000 (13:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:18:15 +0000 (16:18 +0100)
commitc87c2b0d3ed07ef0f796cbba1037934111fb3c12
tree96f8dd4076991b880841e796d1ed3f5856f9056e
parent5495a7ea927935b957a3cc6f7ce6f5520ebbbeff
staging: r8188eu: we always enqueue in rtw_set_chplan_cmd

The only caller of rtw_set_chplan_cmd requests that the message be
enqueued and not sent directly.

Remove the enqueue parameter and the code for direct sending.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220108124959.313215-13-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_cmd.c
drivers/staging/r8188eu/include/rtw_cmd.h
drivers/staging/r8188eu/os_dep/ioctl_linux.c