From: Jes Sorensen Date: Fri, 16 May 2014 08:04:55 +0000 (+0200) Subject: staging: rtl8723au: Move last utility function from osdep_service.c to os_intfs.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=633dd914ca2b94e91e453d033724d805d286394a;p=linux-beck.git staging: rtl8723au: Move last utility function from osdep_service.c to os_intfs.c No point carrying a dedicated file just for this small helper, so move it to os_intfs.c and get rid of osdep_service.c Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/Makefile b/drivers/staging/rtl8723au/Makefile index bbf503dd437a..5146b709efb4 100644 --- a/drivers/staging/rtl8723au/Makefile +++ b/drivers/staging/rtl8723au/Makefile @@ -45,7 +45,6 @@ r8723au-y := \ hal/usb_ops_linux.o \ os_dep/ioctl_cfg80211.o \ os_dep/mlme_linux.o \ - os_dep/osdep_service.o \ os_dep/os_intfs.o \ os_dep/recv_linux.o \ os_dep/usb_intf.o \ diff --git a/drivers/staging/rtl8723au/os_dep/os_intfs.c b/drivers/staging/rtl8723au/os_dep/os_intfs.c index f8cc876fb8e6..590028322c44 100644 --- a/drivers/staging/rtl8723au/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723au/os_dep/os_intfs.c @@ -884,3 +884,9 @@ void rtw_ndev_destructor(struct net_device *ndev) kfree(ndev->ieee80211_ptr); free_netdev(ndev); } + +void _rtw_init_queue23a(struct rtw_queue *pqueue) +{ + INIT_LIST_HEAD(&pqueue->queue); + spin_lock_init(&pqueue->lock); +}