OSDN Git Service

staging: r8188eu: remove enable_interrupt from struct hal_ops
authorPhillip Potter <phil@philpotter.co.uk>
Mon, 6 Sep 2021 01:00:56 +0000 (02:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:48 +0000 (08:49 +0200)
Remove enable_interrupt function pointer from struct hal_ops, as it
is unused.

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

index 222fd93..be1dadc 100644 (file)
@@ -149,7 +149,6 @@ struct hal_ops {
        void    (*dm_init)(struct adapter *padapter);
        void    (*dm_deinit)(struct adapter *padapter);
 
-       void    (*enable_interrupt)(struct adapter *padapter);
        void    (*disable_interrupt)(struct adapter *padapter);
        s32     (*interrupt_handler)(struct adapter *padapter);