Skip to contentSkip to conversation

staging: r8188eu: remove hal_set_hal_ops macro

PATCH New Ivan Safonov 1 participant 1 message Sep 3, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 60/63 staging: r8188eu: remove hal_set_hal_ops macro

hal_set_hal_ops is a trivial wrapper for rtl8188eu_set_hal_ops.

---
 drivers/staging/rtl8188eu/include/usb_hal.h | 1 -
 drivers/staging/rtl8188eu/os_dep/usb_intf.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8188eu/include/usb_hal.h +0 -1
index b1bf07a..fd9921f 100644
@@ -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__ */
drivers/staging/rtl8188eu/os_dep/usb_intf.c +1 -1
index 900dd53..ea77082 100644
@@ -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;
Signature · 1 line
2.7.3