From: Marco Cesati Date: Mon, 22 Mar 2021 13:37:01 +0000 (+0100) Subject: Staging: rtl8723bs: remove useless structs in rtw_recv.h X-Git-Tag: iomap-folio-5.17-old~1610^2~375 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=65d8ec9416b44ae29aa797938c206fc41dd7763b;p=users%2Fwilly%2Flinux.git Staging: rtl8723bs: remove useless structs in rtw_recv.h Remove the following unreferenced struct in include/rtw_recv.h: struct smooth_rssi_data Signed-off-by: Marco Cesati Link: https://lore.kernel.org/r/20210322133717.17797-4-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h b/drivers/staging/rtl8723bs/include/rtw_recv.h index 3e2ee7f75e8c..2709c9413dbc 100644 --- a/drivers/staging/rtl8723bs/include/rtw_recv.h +++ b/drivers/staging/rtl8723bs/include/rtw_recv.h @@ -69,13 +69,6 @@ struct stainfo_rxcache { }; -struct smooth_rssi_data { - u32 elements[100]; /* array to store values */ - u32 index; /* index to current array to store */ - u32 total_num; /* num of valid elements */ - u32 total_val; /* sum of valid elements */ -}; - struct signal_stat { u8 update_req; /* used to indicate */ u8 avg_val; /* avg of valid elements */