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 <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen
2014-05-16 10:04:55 +02:00
committed by Greg Kroah-Hartman
parent e6ac6eb2ae
commit 633dd914ca
2 changed files with 6 additions and 1 deletions

View File

@@ -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 \

View File

@@ -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);
}