提交 4f28e3f9 编写于 作者: C Christophe JAILLET 提交者: Marcel Holtmann

Bluetooth: hci_h4: Remove a redundant assignment in 'h4_flush()'

'hu->priv' is set twice to NULL in this function.
Axe one of these assignments.
Signed-off-by: NChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 6bd023c4
......@@ -71,8 +71,6 @@ static int h4_close(struct hci_uart *hu)
{
struct h4_struct *h4 = hu->priv;
hu->priv = NULL;
BT_DBG("hu %p", hu);
skb_queue_purge(&h4->txq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册