linux-kernel.vger.kernel.org archive mirror
 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 09/18] staging: r8188eu: remove unused ODM_FreeWorkItem()
Date: Sat, 11 Sep 2021 15:26:26 +0200	[thread overview]
Message-ID: <20210911132635.30369-10-straube.linux@gmail.com> (raw)
In-Reply-To: <20210911132635.30369-1-straube.linux@gmail.com>

Function ODM_FreeWorkItem() is unused and empty, remove it.

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

diff --git a/drivers/staging/r8188eu/hal/odm_interface.c b/drivers/staging/r8188eu/hal/odm_interface.c
index bd9d9f832eaf..f3b6fb886550 100644
--- a/drivers/staging/r8188eu/hal/odm_interface.c
+++ b/drivers/staging/r8188eu/hal/odm_interface.c
@@ -94,10 +94,6 @@ s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2, u
 }
 
 /*  Work item relative API. FOr MP driver only~! */
-void ODM_FreeWorkItem(void *pRtWorkItem)
-{
-}
-
 void ODM_ScheduleWorkItem(void *pRtWorkItem)
 {
 }
diff --git a/drivers/staging/r8188eu/include/odm_interface.h b/drivers/staging/r8188eu/include/odm_interface.h
index 5ed4061d2f48..dd14f465e4d8 100644
--- a/drivers/staging/r8188eu/include/odm_interface.h
+++ b/drivers/staging/r8188eu/include/odm_interface.h
@@ -96,8 +96,6 @@ s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2,
 		      u32 length);
 
 /*  ODM MISC-workitem relative API. */
-void ODM_FreeWorkItem(void *pRtWorkItem);
-
 void ODM_ScheduleWorkItem(void *pRtWorkItem);
 
 void ODM_IsWorkItemScheduled(void *pRtWorkItem);
-- 
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 ` [PATCH 04/18] staging: r8188eu: remove unused ODM_FillH2CCmd() Michael Straube
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 ` Michael Straube [this message]
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-10-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 \
    /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;
as well as URLs for NNTP newsgroup(s).