浏览代码

llc: Kill outdated and incorrect comment.

This comment suggested storing two pieces of state in the
LLC skb control block, and in fact we do.  Someone did
the implementation but never killed this todo comment :-)

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 16 年之前
父节点
当前提交
dfe9a83798
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      net/llc/llc_conn.c

+ 0 - 4
net/llc/llc_conn.c

@@ -79,10 +79,6 @@ int llc_conn_state_process(struct sock *sk, struct sk_buff *skb)
 
 
 	if (unlikely(!ev->ind_prim && !ev->cfm_prim)) {
 	if (unlikely(!ev->ind_prim && !ev->cfm_prim)) {
 		/* indicate or confirm not required */
 		/* indicate or confirm not required */
-		/* XXX this is not very pretty, perhaps we should store
-		 * XXX indicate/confirm-needed state in the llc_conn_state_ev
-		 * XXX control block of the SKB instead? -DaveM
-		 */
 		if (!skb->next)
 		if (!skb->next)
 			goto out_kfree_skb;
 			goto out_kfree_skb;
 		goto out_skb_put;
 		goto out_skb_put;