[PATCH 0/4] staging: vt6655: Remove unused 5GHz support

From: Philipp Hortmann
Date: Sat Mar 05 2022 - 16:32:45 EST


Hardware of vt6655 (PCI) and vt6656 (USB) do only support 2.4GHz band and not 5GHz band.
Both drivers do allow only one vendor id and device id.
So no other devices are covered by those drivers.
Because of this the following priv->byRFType cannot occure:
RF_AIROHA7230
RF_UW2452

Tested with vt6655 on mini PCI Module
Module used for testing is using byRFType: RF_AIROHA (2.4GHz only)
In order to combine vt665x infrastructure it is important
that vt6656 is also not using this code.
vt6656 on mini PCIe card (connected over USB)
is using byRFType: RF_VT3226D0 (2.4GHz only)
vt6656 as USB Plugin Module
is using byRFType: RF_AL2230S (2.4GHz only)

Transferred this patches over vt6655 on mini PCI Module

Checkpatch errors occured because indention was changed. (3x times CamelCase)
I did not fix that in this patch series as it would make the patch more complicated.



Philipp Hortmann (4):
staging: vt6655: Remove unused byRFType in channel.c
staging: vt6655: Remove unused byRFType in baseband.c
staging: vt6655: Remove unused byRFType in rf.c
staging: vt6655: Remove unused byRFType in card.c

drivers/staging/vt6655/baseband.c | 80 ------
drivers/staging/vt6655/card.c | 56 +----
drivers/staging/vt6655/channel.c | 85 +------
drivers/staging/vt6655/rf.c | 404 +-----------------------------
4 files changed, 3 insertions(+), 622 deletions(-)

--
2.25.1