Re: [PATCH v5] staging: rtl8723bs: remove unused private debug counters
From: Dan Carpenter
Date: Mon Feb 02 2026 - 03:36:53 EST
On Sat, Jan 31, 2026 at 03:21:28PM -0600, Ethan Tidmore wrote:
> The driver maintains a private `struct debug_priv` embedded within
> `struct dvobj_priv` to track various error counters (e.g., suspend
> errors, alloc failures, RX drops).
>
> These counters are incremented in various files but the data is
> never read or exposed to userspace.
>
> Remove the unused `debug_priv` structure definition, the instance
> in `dvobj_priv`, and all associated increment operations across
> the driver to clean up the code.
>
> This also removes the following helper functions which were used
> solely to update these counters:
> - rtw_reset_rx_info()
> - recv_indicatepkts_pkt_loss_cnt()
>
> Signed-off-by: Ethan Tidmore <ethantidmore06@xxxxxxxxx>
> ---
LGTM.
Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
regards,
dan carpenter