提交 6559b8b5 编写于 作者: I Ivan Safonov 提交者: Greg Kroah-Hartman

staging: r8188eu: remove hal_set_hal_ops macro

hal_set_hal_ops is a trivial wrapper for rtl8188eu_set_hal_ops.
Signed-off-by: NIvan Safonov <insafonov@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 274c4f29
...@@ -16,6 +16,5 @@ ...@@ -16,6 +16,5 @@
#define __USB_HAL_H__ #define __USB_HAL_H__
void rtl8188eu_set_hal_ops(struct adapter *padapter); void rtl8188eu_set_hal_ops(struct adapter *padapter);
#define hal_set_hal_ops rtl8188eu_set_hal_ops
#endif /* __USB_HAL_H__ */ #endif /* __USB_HAL_H__ */
...@@ -362,7 +362,7 @@ static struct adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj, ...@@ -362,7 +362,7 @@ static struct adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
} }
/* step 2. hook HalFunc, allocate HalData */ /* step 2. hook HalFunc, allocate HalData */
hal_set_hal_ops(padapter); rtl8188eu_set_hal_ops(padapter);
padapter->intf_start = &usb_intf_start; padapter->intf_start = &usb_intf_start;
padapter->intf_stop = &usb_intf_stop; padapter->intf_stop = &usb_intf_stop;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册