linux/drivers/staging/rtl8188eu
Martin Kaiser ddc7e53e5e staging: rtl8188eu: always free cmd_obj in the cmd thread
The rtl8188 driver starts a command thread that reads commands from a queue
and processes them. Each command consists of a struct cmd_obj. The command
thread may call a function to process the current command and optionally a
post-processing function. Eventually, the command's cmd_obj must be freed.

At the moment, if there's a post-processing function for the current
command, this function has to free the cmd_obj. If there's no
post-processing function, the command thread frees cmd_obj.

It's much simpler if we always leave it to the command thread to free
cmd_obj.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210408195601.4762-9-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-09 16:17:23 +02:00
..
core staging: rtl8188eu: always free cmd_obj in the cmd thread 2021-04-09 16:17:23 +02:00
hal staging: rtl8188eu: remove unused function parameter 2021-04-09 16:17:23 +02:00
include staging: rtl8188eu: move another static array from .h to .c 2021-04-09 16:17:23 +02:00
os_dep staging: rtl8188eu: remove unused function parameter 2021-04-09 16:17:23 +02:00
Kconfig
Makefile
TODO