LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Michael Straube <straube.linux@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk,
	martin@kaiser.cx, fmdefrancesco@gmail.com,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	Michael Straube <straube.linux@gmail.com>
Subject: [PATCH 04/18] staging: r8188eu: remove unused ODM_FillH2CCmd()
Date: Sat, 11 Sep 2021 15:26:21 +0200	[thread overview]
Message-ID: <20210911132635.30369-5-straube.linux@gmail.com> (raw)
In-Reply-To: <20210911132635.30369-1-straube.linux@gmail.com>

Function ODM_FillH2CCmd() is unused, remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
 drivers/staging/r8188eu/hal/odm_interface.c     | 8 --------
 drivers/staging/r8188eu/include/odm_interface.h | 5 -----
 2 files changed, 13 deletions(-)

diff --git a/drivers/staging/r8188eu/hal/odm_interface.c b/drivers/staging/r8188eu/hal/odm_interface.c
index d45eacabfbd6..7b36584f0e6d 100644
--- a/drivers/staging/r8188eu/hal/odm_interface.c
+++ b/drivers/staging/r8188eu/hal/odm_interface.c
@@ -155,11 +155,3 @@ void ODM_CancelTimer(struct odm_dm_struct *pDM_Odm, struct timer_list *pTimer)
 {
 	_cancel_timer_ex(pTimer);
 }
-
-/*  ODM FW relative API. */
-u32 ODM_FillH2CCmd(u8 *pH2CBuffer, u32 H2CBufferLen, u32 CmdNum,
-		      u32 *pElementID, u32 *pCmdLen,
-		      u8 **pCmbBuffer, u8 *CmdStartSeq)
-{
-	return	true;
-}
diff --git a/drivers/staging/r8188eu/include/odm_interface.h b/drivers/staging/r8188eu/include/odm_interface.h
index 4769087b9412..9afc5178955f 100644
--- a/drivers/staging/r8188eu/include/odm_interface.h
+++ b/drivers/staging/r8188eu/include/odm_interface.h
@@ -130,9 +130,4 @@ void ODM_InitializeTimer(struct odm_dm_struct *pDM_Odm,
 
 void ODM_CancelTimer(struct odm_dm_struct *pDM_Odm, struct timer_list *pTimer);
 
-/*  ODM FW relative API. */
-u32 ODM_FillH2CCmd(u8 *pH2CBuffer, u32 H2CBufferLen, u32 CmdNum,
-		   u32 *pElementID, u32 *pCmdLen, u8 **pCmbBuffer,
-		   u8 *CmdStartSeq);
-
 #endif	/*  __ODM_INTERFACE_H__ */
-- 
2.33.0


  parent reply	other threads:[~2021-09-11 13:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-11 13:26 [PATCH 00/18] staging: r8188eu: remove unused functions from odm_interface.c Michael Straube
2021-09-11 13:26 ` [PATCH 01/18] staging: r8188eu: remove empty ODM_ReleaseTimer() Michael Straube
2021-09-11 13:26 ` [PATCH 02/18] staging: r8188eu: remove unused ODM_AcquireSpinLock() Michael Straube
2021-09-11 13:26 ` [PATCH 03/18] staging: r8188eu: remove unused ODM_ReleaseSpinLock() Michael Straube
2021-09-11 13:26 ` Michael Straube [this message]
2021-09-11 13:26 ` [PATCH 05/18] staging: r8188eu: remove unused ODM_sleep_us() Michael Straube
2021-09-11 13:26 ` [PATCH 06/18] staging: r8188eu: remove unused ODM_InitializeWorkItem() Michael Straube
2021-09-11 13:26 ` [PATCH 07/18] staging: r8188eu: remove unused ODM_StartWorkItem() Michael Straube
2021-09-11 13:26 ` [PATCH 08/18] staging: r8188eu: remove unused ODM_StopWorkItem() Michael Straube
2021-09-11 13:26 ` [PATCH 09/18] staging: r8188eu: remove unused ODM_FreeWorkItem() Michael Straube
2021-09-11 13:26 ` [PATCH 10/18] staging: r8188eu: remove unused ODM_ScheduleWorkItem() Michael Straube
2021-09-11 13:26 ` [PATCH 11/18] staging: r8188eu: remove unused ODM_IsWorkItemScheduled() Michael Straube
2021-09-11 13:26 ` [PATCH 12/18] staging: r8188eu: remove unused ODM_SetTimer() Michael Straube
2021-09-11 13:26 ` [PATCH 13/18] staging: r8188eu: remove unused ODM_Read2Byte() Michael Straube
2021-09-11 13:26 ` [PATCH 14/18] staging: r8188eu: remove unused ODM_FreeMemory() Michael Straube
2021-09-11 13:26 ` [PATCH 15/18] staging: r8188eu: remove unused ODM_AllocateMemory() Michael Straube
2021-09-11 13:26 ` [PATCH 16/18] staging: r8188eu: remove unused prototype ODM_InitializeTimer() Michael Straube
2021-09-11 13:26 ` [PATCH 17/18] staging: r8188eu: remove unused ODM_CancelAllTimers() Michael Straube
2021-09-11 13:26 ` [PATCH 18/18] staging: r8188eu: remove unused ODM_InitAllTimers() Michael Straube
2021-09-11 14:20 ` [PATCH 00/18] staging: r8188eu: remove unused functions from odm_interface.c 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=20210911132635.30369-5-straube.linux@gmail.com \
    --to=straube.linux@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=fmdefrancesco@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=martin@kaiser.cx \
    --cc=phil@philpotter.co.uk \
    --subject='Re: [PATCH 04/18] staging: r8188eu: remove unused ODM_FillH2CCmd()' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).