diff options
author | Aastha Gupta <aastha.gupta4104@gmail.com> | 2017-10-08 10:24:56 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-18 16:07:49 +0200 |
commit | b739ea41363b81e47bcb6c49d9df32b45259388a (patch) | |
tree | c74bc196634f7b0eb7120068fb8bffc150e0a7e9 /drivers/staging/rtl8723bs/include/drv_types.h | |
parent | staging: rtl8723bs: rename camelcase bAcceptAddbaReq (diff) | |
download | linux-dev-b739ea41363b81e47bcb6c49d9df32b45259388a.tar.xz linux-dev-b739ea41363b81e47bcb6c49d9df32b45259388a.zip |
staging: rtl8723bs: remove useless variable rtw_AcceptAddbaReq
rtw_AcceptAddbaReq is a static variable, it is set once and never
modified. It is referenced only once, to assign its value to a member
of struct registry_priv.
Remove the variable, and move the meaningful part of the comment
near the declaration of the relevant field of struct registry_priv.
Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/include/drv_types.h')
-rw-r--r-- | drivers/staging/rtl8723bs/include/drv_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h index 6812dd054c8e..32129ac8e169 100644 --- a/drivers/staging/rtl8723bs/include/drv_types.h +++ b/drivers/staging/rtl8723bs/include/drv_types.h @@ -177,6 +177,7 @@ struct registry_priv u8 bt_ampdu; s8 ant_num; + /* false:Reject AP's Add BA req, true:accept AP's Add BA req */ bool accept_addba_req; u8 antdiv_cfg; |