]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: remove useless variable rtw_AcceptAddbaReq
authorAastha Gupta <aastha.gupta4104@gmail.com>
Sun, 8 Oct 2017 04:54:56 +0000 (10:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 14:07:49 +0000 (16:07 +0200)
commit648822934bb86c640b433654ce86bfe07ccab4d9
treec74bc196634f7b0eb7120068fb8bffc150e0a7e9
parent30c791ac6f0c9b3115c2d1069f5f5e0eab13619a
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>
drivers/staging/rtl8723bs/include/drv_types.h
drivers/staging/rtl8723bs/os_dep/os_intfs.c