mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
staging: rtl8192e: Remove equation of local variable InactTime of AdmitTS
Remove equation of local variable InactTime of AdmitTS as AdmitTS is only once called with InactTime as 0. The equation is always false and therefore dead code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/ff2d60f157059e5440a4b583f2604d99db4d8d2b.1687583718.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
74d118d51f
commit
dbb70f25b3
@@ -188,10 +188,6 @@ static void AdmitTS(struct rtllib_device *ieee,
|
||||
struct ts_common_info *pTsCommonInfo, u32 InactTime)
|
||||
{
|
||||
del_timer_sync(&pTsCommonInfo->InactTimer);
|
||||
|
||||
if (InactTime != 0)
|
||||
mod_timer(&pTsCommonInfo->InactTimer, jiffies +
|
||||
msecs_to_jiffies(InactTime));
|
||||
}
|
||||
|
||||
static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee,
|
||||
|
||||
Reference in New Issue
Block a user