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

Remove rtw_hal_enable_interrupt 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 enable_interrupt in struct
hal_ops if it is set, which it never is. In addition, this wrapper
function is unused anyway.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210906010106.898-4-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