staging: rtl8723bs: remove handlerOS independent comment
authorRebecca Mckeever <remckee0@gmail.com>
Tue, 5 Apr 2022 01:10:43 +0000 (20:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Apr 2022 14:04:10 +0000 (16:04 +0200)
The "need to make timeout handlerOS independent" comment is incorrect.
Remove the comment to avoid misleading developers.
Additional instances found with git grep.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rebecca Mckeever <remckee0@gmail.com>
Link: https://lore.kernel.org/r/416ed753b7b3062cc8c674dea9028fc901e85426.1649120568.git.remckee0@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c

index 46e18a9..c16a2b6 100644 (file)
@@ -1887,7 +1887,6 @@ void rtw_survey_cmd_callback(struct adapter *padapter,  struct cmd_obj *pcmd)
 
        if (pcmd->res == H2C_DROPPED) {
                /* TODO: cancel timer and do timeout handler directly... */
-               /* need to make timeout handlerOS independent */
                _set_timer(&pmlmepriv->scan_to_timer, 1);
        } else if (pcmd->res != H2C_SUCCESS) {
                _set_timer(&pmlmepriv->scan_to_timer, 1);
@@ -1918,7 +1917,6 @@ void rtw_joinbss_cmd_callback(struct adapter *padapter,  struct cmd_obj *pcmd)
 
        if (pcmd->res == H2C_DROPPED) {
                /* TODO: cancel timer and do timeout handler directly... */
-               /* need to make timeout handlerOS independent */
                _set_timer(&pmlmepriv->assoc_timer, 1);
        } else if (pcmd->res != H2C_SUCCESS) {
                _set_timer(&pmlmepriv->assoc_timer, 1);