mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02: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:
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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user