staging: r8188eu: remove handlerOS independent comment
authorRebecca Mckeever <remckee0@gmail.com>
Sun, 3 Apr 2022 19:17:04 +0000 (14:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:33:53 +0000 (16:33 +0200)
The "need to make timeout handlerOS independent" comment is incorrect.
Remove the comment to avoid misleading developers.
Additional instance 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/7d0d2253d86f46bc0def0447de424727d70f03a7.1649011311.git.remckee0@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_cmd.c

index 8b24330e97c104006de7d2e210f535ca44281f3c..da455eb4d8cbc9bbde13e76d552a62c46382a515 100644 (file)
@@ -1447,7 +1447,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);