OSDN Git Service

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 b1bf07a..fd9921f 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 900dd53..ea77082 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;