staging: r8188eu: remove hal_set_hal_ops macro

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>
This commit is contained in:
Ivan Safonov
2016-09-03 22:33:49 +07:00
committed by Greg Kroah-Hartman
parent 274c4f2912
commit 6559b8b5cb
2 changed files with 1 additions and 2 deletions

View 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__ */

View 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;