From: linux@treblig.org
To: kvalo@kernel.org, libertas-dev@lists.infradead.org
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
"Dr. David Alan Gilbert" <linux@treblig.org>
Subject: [PATCH 0/3] wifi: libertas: Deadcoding
Date: Tue, 21 Jan 2025 01:32:57 +0000 [thread overview]
Message-ID: <20250121013300.433538-1-linux@treblig.org> (raw)
From: "Dr. David Alan Gilbert" <linux@treblig.org>
Hi,
The first two patches remove functions that haven't been
called since a commit in 2010.
The last one cleans up a bunch of unreachable code and
never set variables, due to the functions that weren't called.
This series is build test only, which the first two are fine,
but the 3rd one might be best to check a bit more given
that it's actually removing some if's.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Dr. David Alan Gilbert (3):
wifi: libertas: Remove unused functions in main
wifi: libertas: Remove unused cmd functions
wifi: libertas: Remove unused auto deep sleep code
drivers/net/wireless/marvell/libertas/cmd.c | 143 +-----------------
drivers/net/wireless/marvell/libertas/cmd.h | 10 --
.../net/wireless/marvell/libertas/cmdresp.c | 1 -
drivers/net/wireless/marvell/libertas/decl.h | 4 -
drivers/net/wireless/marvell/libertas/dev.h | 4 -
drivers/net/wireless/marvell/libertas/main.c | 88 +----------
6 files changed, 6 insertions(+), 244 deletions(-)
--
2.48.1
next reply other threads:[~2025-01-21 1:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-21 1:32 linux [this message]
2025-01-21 1:32 ` [PATCH 1/3] wifi: libertas: Remove unused functions in main linux
2025-01-28 18:14 ` [1/3] wifi: libertas: main: remove unused functions Kalle Valo
2025-01-21 1:32 ` [PATCH 2/3] wifi: libertas: Remove unused cmd functions linux
2025-01-21 1:33 ` [PATCH 3/3] wifi: libertas: Remove unused auto deep sleep code linux
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=20250121013300.433538-1-linux@treblig.org \
--to=linux@treblig.org \
--cc=kvalo@kernel.org \
--cc=libertas-dev@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/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®