]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: remove rf_type from struct hal_data_8188e
authorMichael Straube <straube.linux@gmail.com>
Sun, 28 Nov 2021 17:09:23 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:13:36 +0000 (15:13 +0100)
commit5bf536dacaa5ccff2171f80137d0a2dd71636978
tree1157e2b39112e8bf42e8e75b0dea51ef58cad13a
parent111f04aef4379401ca04c540d7308cf4ccce5f01
staging: r8188eu: remove rf_type from struct hal_data_8188e

The field rf_type of struct hal_data_8188e is set to RF_1T1R and
never changed. Also it is used only in a call to netdev_dbg() which
is not very useful since RTL8188EU chips are always 1T1R. Remove
the netdev_dbg() and remove rf_type from the hal_data_8188e
structure.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211128170924.5874-10-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c
drivers/staging/r8188eu/include/rtl8188e_hal.h