From: Martin Kaiser Date: Sat, 26 Feb 2022 18:14:51 +0000 (+0100) Subject: staging: r8188eu: smooth_rssi_data is not used X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=18ba5748c24dc42a3280f94eb7b52a9bbb756c48;p=linux.git staging: r8188eu: smooth_rssi_data is not used struct smooth_rssi_data is not used in this driver. It can be removed. Signed-off-by: Martin Kaiser Link: https://lore.kernel.org/r/20220226181457.1138035-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/include/rtw_recv.h b/drivers/staging/r8188eu/include/rtw_recv.h index 5e65cf6b87bc8..13df957817473 100644 --- a/drivers/staging/r8188eu/include/rtw_recv.h +++ b/drivers/staging/r8188eu/include/rtw_recv.h @@ -55,13 +55,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 */