OSDN Git Service

staging: r8188eu: remove rtw_hal_reset_security_engine function
authorPhillip Potter <phil@philpotter.co.uk>
Mon, 6 Sep 2021 01:00:53 +0000 (02:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:48 +0000 (08:49 +0200)
commit6e880440484db8434c303a7a3f74faeec505bfb7
tree2afd65826e1691fbd55c718fe6e9adee6231375a
parent8dac1203cdfb6c287b14748d007f644b03fb5e4d
staging: r8188eu: remove rtw_hal_reset_security_engine function

Remove rtw_hal_reset_security_engine and its one caller from
hal/hal_intf.c, and remove its declaration from include/hal_intf.h as
well. This is just a wrapper function that calls the function pointer
hal_reset_security_engine in struct hal_ops if it is set, which it never
is.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210906010106.898-2-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/hal_intf.c
drivers/staging/r8188eu/include/hal_intf.h