mbox series

[0/3] wifi: libertas: Deadcoding

Message ID 20250121013300.433538-1-linux@treblig.org (mailing list archive)
Headers show
Series wifi: libertas: Deadcoding | expand

Message

Dr. David Alan Gilbert Jan. 21, 2025, 1:32 a.m. UTC
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(-)