Re: [PATCH 3/4] Staging: rtl8723bs: Fix block comments warning

From: Dan Carpenter
Date: Mon Jan 29 2024 - 10:06:46 EST


On Mon, Jan 29, 2024 at 04:18:55PM +0200, Meir Elisha wrote:
> /*
> -struct wlan_network *_rtw_dequeue_network(struct __queue *queue)
> -{
> - _irqL irqL;
> -
> - struct wlan_network *pnetwork;
> -
> - spin_lock_bh(&queue->lock);
> -
> - if (list_empty(&queue->queue))
> -
> - pnetwork = NULL;
> -
> - else
> - {
> - pnetwork = container_of(get_next(&queue->queue), struct wlan_network, list);
> -
> - list_del_init(&(pnetwork->list));
> - }
> -
> - spin_unlock_bh(&queue->lock);
> -
> - return pnetwork;
> -}
> -*/
> + *struct wlan_network *_rtw_dequeue_network(struct __queue *queue)
> + *{
> + * _irqL irqL;
> + *
> + * struct wlan_network *pnetwork;
> + *
> + * spin_lock_bh(&queue->lock);
> + *
> + * if (list_empty(&queue->queue))
> + *
> + * pnetwork = NULL;
> + *
> + * else
> + * {
> + * pnetwork = container_of(get_next(&queue->queue), struct wlan_network, list);
> + *
> + * list_del_init(&(pnetwork->list));
> + * }
> + *
> + * spin_unlock_bh(&queue->lock);
> + *
> + * return pnetwork;
> + *}
> + */


Delete the dead code.

regards,
dan carpenter