summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorIvan Safonov <insafonov@gmail.com>2016-09-03 22:33:49 +0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-12 11:30:03 +0200
commit6559b8b5cb0c232da487e2e221bc999c27c19b14 (patch)
treeae067887f671e7ad40bfd57fc6f5efb888c21630 /drivers/staging/rtl8188eu
parent274c4f2912188cc7d5c4c1355e06d287a3c22a1a (diff)
downloadop-kernel-dev-6559b8b5cb0c232da487e2e221bc999c27c19b14.zip
op-kernel-dev-6559b8b5cb0c232da487e2e221bc999c27c19b14.tar.gz
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>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r--drivers/staging/rtl8188eu/include/usb_hal.h1
-rw-r--r--drivers/staging/rtl8188eu/os_dep/usb_intf.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/include/usb_hal.h b/drivers/staging/rtl8188eu/include/usb_hal.h
index b1bf07a..fd9921f 100644
--- a/drivers/staging/rtl8188eu/include/usb_hal.h
+++ b/drivers/staging/rtl8188eu/include/usb_hal.h
@@ -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__ */
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index 900dd53..ea77082 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
@@ -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;
OpenPOWER on IntegriCloud