[PATCH 0/3] wifi: libertas: Deadcoding
linux at treblig.org
linux at treblig.org
Mon Jan 20 17:32:57 PST 2025
From: "Dr. David Alan Gilbert" <linux at 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 at 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
More information about the libertas-dev
mailing list