/* fcoe_clean_pending_queue() - Dequeue a skb and free it @lport: The local port to dequeue a skb on  */
void fcoe_clean_pending_queue(struct fc_lport *)
/* fcoe_clean_pending_queue() - Dequeue a skb and free it @lport: The local port to dequeue a skb on  */
void fcoe_clean_pending_queue(struct fc_lport *)
{
	struct fcoe_port  *port = lport_priv(lport);
	struct sk_buff *skb;
	spin_lock_bh(&port->fcoe_pending_queue.lock);
	while ((skb = __skb_dequeue(&port->fcoe_pending_queue)) != NULL) {
		spin_unlock_bh(&port->fcoe_pending_queue.lock);
		kfree_skb(skb);
		spin_lock_bh(&port->fcoe_pending_queue.lock);
	}
	spin_unlock_bh(&port->fcoe_pending_queue.lock);
}