From ea2141fade74f914638e7ce18373c950346ad05a Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Sat, 1 Nov 2003 07:14:41 -0800 Subject: [PATCH] [LLC]: fix procfs reading when there are saps without sockets --- net/llc/llc_proc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/llc/llc_proc.c b/net/llc/llc_proc.c index a53c9352eef4c..a991727b366a1 100644 --- a/net/llc/llc_proc.c +++ b/net/llc/llc_proc.c @@ -48,8 +48,6 @@ static struct sock *llc_get_sk_idx(loff_t pos) --pos; } read_unlock_bh(&sap->sk_list.lock); - if (!pos) - break; } sk = NULL; found: -- 2.53.0