staging: rtl8192e: Remove priv->rf_chip in _rtl92e_get_channel_map
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Mar 2023 08:37:02 +0000 (09:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:52:10 +0000 (09:52 +0100)
commit1d907c886f1c955fe805563bd6b08c733d903eb8
treea4d6ba6d25b4abe6d6dfc4ffaf0f372e4446c8a5
parent25e99c453b6d4797be3606d4debeabc9e7f28ef9
staging: rtl8192e: Remove priv->rf_chip in _rtl92e_get_channel_map

priv->rf_chip is initialized to RF_8256 and never changed. Remove
condition in function _rtl92e_get_channel_map as it is dead code.

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