]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Move last utility function from osdep_service.c to os_intfs.c
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:04:55 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:33 +0000 (11:34 -0700)
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>
drivers/staging/rtl8723au/Makefile
drivers/staging/rtl8723au/os_dep/os_intfs.c

index bbf503dd437a2713efc5b65b78f88bd451c7dae4..5146b709efb428f61d0496069e32b64207e44450 100644 (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       \
index f8cc876fb8e62ec4bfe75bb2d7d0f259e4a975dd..590028322c44985c741a5994592649a44fc1a8fb 100644 (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);
+}