mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 16:42:22 -04:00
staging: rtl8188eu: remove a dead assignment
There's no need to set cmd_hdl to NULL after it's used. It will be set again before the next command is processed. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210408195601.4762-11-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ea21efe662
commit
92d056d6cb
@@ -217,8 +217,6 @@ int rtw_cmd_thread(void *context)
|
||||
} else {
|
||||
pcmd->res = H2C_PARAMETERS_ERROR;
|
||||
}
|
||||
|
||||
cmd_hdl = NULL;
|
||||
}
|
||||
|
||||
/* call callback function for post-processed */
|
||||
|
||||
Reference in New Issue
Block a user