diff options
| author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2023-03-07 22:01:25 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-08 17:11:58 +0100 |
| commit | 0a689b8241ae3a3d082d3ce706dfc6405fabe9d5 (patch) | |
| tree | 4f80dcd0663c68629f051132a6bb1987c956b6ac /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f5f7aaa87ffdfd1b0c57b7d35d744c4a46eebcfa (diff) | |
staging: rtl8192e: Remove unused Array Rtl8192PciERadioD_Array
The array Rtl8192PciERadioD_Array is only used in function
rtl92e_config_rf_path which is only called in function rtl92e_config_rf.
In function rtl92e_config_rf a termination condition for the loop is set
to priv->num_total_rf_path = RTL819X_TOTAL_RF_PATH = 2. The loop is only
executed with numbers 0 and 1 for eRFPath. So the function
rtl92e_config_rf_path is only called with eRFPath for 0 and 1 and never
with 3 that would make the "case RF90_PATH_D:" be called. Remove
resulting dead code.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/608ced17b85ca321fdc0026c686e3c62a9d6d8cd.1678222487.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
