From: Fabio Aiuto Date: Mon, 30 Aug 2021 07:09:25 +0000 (+0200) Subject: staging: rtl8723bs: remove unused _rtw_init_queue() function X-Git-Tag: block-5.16-2021-11-13~57^2~615 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=147dbb198737206eca09cb14375cb85b9340ff92;p=linux-block.git staging: rtl8723bs: remove unused _rtw_init_queue() function remove _rtw_init_queue() left unused by previous commit in this series. Reviewed-by: Hans de Goede Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/3c03fcfbe799195c84608b05fc54efe921bef4de.1630307025.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c index c58555a4012f..2d630ecef08b 100644 --- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c +++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c @@ -49,13 +49,6 @@ inline int _rtw_netif_rx(struct net_device *ndev, struct sk_buff *skb) return netif_rx(skb); } -void _rtw_init_queue(struct __queue *pqueue) -{ - INIT_LIST_HEAD(&(pqueue->queue)); - - spin_lock_init(&(pqueue->lock)); -} - struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) { struct net_device *pnetdev;