RE: [PATCH] rtlwifi: rtlwifi: remove dead halbtc8822bwifionly.c and header
From: Ping-Ke Shih
Date: Thu Dec 03 2026 - 19:49:22 EST
Julian Braha <julian.braha@xxxxxxxxx> On Behalf Of Julian Braha wrote:
> halbtc8822bwifionly.c and header halbtc8822bwifionly.h are completely dead
> code. No Makefile builds the C file and no C file includes the header.
I'll only keep this paragraph during committing.
>
> It seems these two files have never actually been in use, because they
> were originally created by commit 94907e8d135b ("rtlwifi: btcoex: Add
> 8822be btcoex supported files for wifi only") with the intent that the
> r8822be driver in staging/ would use it for antenna control, once the
> driver moved out of staging.
>
> However, the staging driver (and staging copies of these files) were later
> removed completely in commit ef4a0c317373 ("staging: rtlwifi: delete the
> staging driver") without these two files being removed with it, leaving
> them as lingering dead code.
The actual reason is that years ago we did plan to add RTL8822BE to rtlwifi,
but finally we gave up and proposed new driver rtw88.
>
> Let's remove them.
>
> Signed-off-by: Julian Braha <julianbraha@xxxxxxxxx>
Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>