staging: rtl8192e: Remove variable stats->freq as it is constant
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 17 Jun 2023 13:56:41 +0000 (15:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jun 2023 12:54:50 +0000 (14:54 +0200)
commit90262a95b060b40684192acf3944084cf0ead7fd
treea29f273852724a707d629e534bb2d1aed67cd2b3
parent5dfc6a8ae297800e1edebc76163b0868d5314a4e
staging: rtl8192e: Remove variable stats->freq as it is constant

stats->freq is initialized with 1 and then unchanged. All evaluations
will result accordingly. Remove resulting dead code and unused defines.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/4d8801d37889e6af4f43dff10d1426fc7918f562.1687007788.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_rx.c