]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: r8188eu: remove hal_set_hal_ops macro
authorIvan Safonov <insafonov@gmail.com>
Sat, 3 Sep 2016 15:33:49 +0000 (22:33 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 09:30:03 +0000 (11:30 +0200)
hal_set_hal_ops is a trivial wrapper for rtl8188eu_set_hal_ops.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/usb_hal.h
drivers/staging/rtl8188eu/os_dep/usb_intf.c

index b1bf07a9013e9657bef17ccd8de637f4f3f30e31..fd9921f22848c71a56420735d442f4ac9d6400fd 100644 (file)
@@ -16,6 +16,5 @@
 #define __USB_HAL_H__
 
 void rtl8188eu_set_hal_ops(struct adapter *padapter);
-#define hal_set_hal_ops        rtl8188eu_set_hal_ops
 
 #endif /* __USB_HAL_H__ */
index 900dd5325488a36a913d652b5398507df8b3097d..ea770825c1cae3bfe2e81c5f3c0476966d2bff91 100644 (file)
@@ -362,7 +362,7 @@ static struct adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
        }
 
        /* step 2. hook HalFunc, allocate HalData */
-       hal_set_hal_ops(padapter);
+       rtl8188eu_set_hal_ops(padapter);
 
        padapter->intf_start = &usb_intf_start;
        padapter->intf_stop = &usb_intf_stop;