staging: rtl8192e: Remove empty function AdmitTS
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 24 Jun 2023 06:03:54 +0000 (08:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 07:57:38 +0000 (09:57 +0200)
Remove call of function and empty function AdmitTS.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/572feb55932b59c7fc652183877698f8b1123d8d.1687583718.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_TSProc.c

index 7fff20b..474171e 100644 (file)
@@ -173,11 +173,6 @@ void TSInitialize(struct rtllib_device *ieee)
        }
 }
 
-static void AdmitTS(struct rtllib_device *ieee,
-                   struct ts_common_info *pTsCommonInfo, u32 InactTime)
-{
-}
-
 static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee,
                                                  u8 *Addr, u8 TID,
                                                  enum tr_select TxRxSelect)
@@ -352,7 +347,6 @@ bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS,
                pTSInfo->field.ucSchedule = 0;
 
                MakeTSEntry(*ppTS, Addr, &TSpec, NULL, 0, 0);
-               AdmitTS(ieee, *ppTS, 0);
                list_add_tail(&((*ppTS)->List), pAddmitList);
 
                return true;