diff options
author | Martin Kaiser <martin@kaiser.cx> | 2021-04-08 22:56:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-09 17:17:23 +0300 |
commit | 92d056d6cb023184312837116f65887407defbfe (patch) | |
tree | de1f6878a04adbfb8f77adf941630d34cb05d9de | |
parent | ea21efe66253191163ad9384b19e0f8d02254ce6 (diff) | |
download | linux-92d056d6cb023184312837116f65887407defbfe.tar.xz |
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>
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_cmd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index e1bf4ce9ab9d..9d358dce5296 100644 --- a/drivers/staging/rtl8188eu/core/rtw_cmd.c +++ b/drivers/staging/rtl8188eu/core/rtw_cmd.c @@ -217,8 +217,6 @@ _next: } else { pcmd->res = H2C_PARAMETERS_ERROR; } - - cmd_hdl = NULL; } /* call callback function for post-processed */ |