mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Kaiser <martin@kaiser.cx>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>,
	Phillip Potter <phil@philpotter.co.uk>,
	Michael Straube <straube.linux@gmail.com>,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	Martin Kaiser <martin@kaiser.cx>
Subject: [PATCH 1/8] staging: r8188eu: remove dm_CheckStatistics
Date: Mon, 11 Oct 2021 22:11:52 +0200	[thread overview]
Message-ID: <20211011201159.10252-2-martin@kaiser.cx> (raw)
In-Reply-To: <20211011201159.10252-1-martin@kaiser.cx>

The dm_CheckStatistics function is empty. Remove it.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
 drivers/staging/r8188eu/hal/rtl8188e_dm.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/drivers/staging/r8188eu/hal/rtl8188e_dm.c b/drivers/staging/r8188eu/hal/rtl8188e_dm.c
index f99a8526fe18..af8b2752b664 100644
--- a/drivers/staging/r8188eu/hal/rtl8188e_dm.c
+++ b/drivers/staging/r8188eu/hal/rtl8188e_dm.c
@@ -8,10 +8,6 @@
 #include "../include/drv_types.h"
 #include "../include/rtl8188e_hal.h"
 
-static void dm_CheckStatistics(struct adapter *Adapter)
-{
-}
-
 /*  Initialize GPIO setting registers */
 static void dm_InitGPIOSetting(struct adapter *Adapter)
 {
@@ -136,13 +132,6 @@ void rtl8188e_HalDmWatchDog(struct adapter *Adapter)
 	if (Adapter->wdinfo.p2p_ps_mode)
 		fw_ps_awake = false;
 
-	if (hw_init_completed && ((!fw_cur_in_ps) && fw_ps_awake)) {
-		/*  Calculate Tx/Rx statistics. */
-		dm_CheckStatistics(Adapter);
-
-
-	}
-
 	/* ODM */
 	if (hw_init_completed) {
 		struct mlme_priv *pmlmepriv = &Adapter->mlmepriv;
-- 
2.20.1


  reply	other threads:[~2021-10-11 20:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11 20:11 [PATCH 0/8] staging: r8188eu: more odm cleanup Martin Kaiser
2021-10-11 20:11 ` Martin Kaiser [this message]
2021-10-11 20:11 ` [PATCH 2/8] staging: r8188eu: simplify rtl8188e_HalDmWatchDog Martin Kaiser
2021-10-11 20:11 ` [PATCH 3/8] staging: r8188eu: remove rtl8188e_deinit_dm_priv Martin Kaiser
2021-10-11 20:11 ` [PATCH 4/8] staging: r8188eu: remove LastMinUndecoratedPWDBForDM Martin Kaiser
2021-10-11 20:11 ` [PATCH 5/8] staging: r8188eu: SupportICType is always ODM_RTL8188E Martin Kaiser
2021-10-11 20:11 ` [PATCH 6/8] staging: r8188eu: remove odm_SwAntDivInit Martin Kaiser
2021-10-11 20:11 ` [PATCH 7/8] staging: r8188eu: odm BoardType is never set Martin Kaiser
2021-10-11 20:11 ` [PATCH 8/8] staging: r8188eu: odm SupportPlatform is always ODM_CE Martin Kaiser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211011201159.10252-2-martin@kaiser.cx \
    --to=martin@kaiser.cx \
    --cc=Larry.Finger@lwfinger.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=phil@philpotter.co.uk \
    --cc=straube.linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®