staging: r8188eu: remove ODM_CmnInfoHook()
authorMichael Straube <straube.linux@gmail.com>
Sun, 20 Feb 2022 10:02:08 +0000 (11:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Feb 2022 17:11:03 +0000 (18:11 +0100)
commitbffd6e0a73988ef358e93e6b1a9ab298f38dfafd
tree7fca0d11cc1cecf8e54187ffa96ed39c7e61493b
parent60352184705ac6d53a41e6d7dd2d0bae327fd3dd
staging: r8188eu: remove ODM_CmnInfoHook()

Each case in ODM_CmnInfoHook() just sets a single variable. Set the
variables directly and remove ODM_CmnInfoHook().

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