pppoe: uninitialized variable in pppoe_flush_dev()
This assignment got deleted along with the checks by mistake. This
comes from: 8753d29fd
"pppoe: remove unnecessary checks in
pppoe_flush_dev"
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dcda138d2f
commit
a5e93151e4
|
@ -289,6 +289,7 @@ static void pppoe_flush_dev(struct net_device *dev)
|
||||||
struct pppoe_net *pn;
|
struct pppoe_net *pn;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
pn = pppoe_pernet(dev_net(dev));
|
||||||
write_lock_bh(&pn->hash_lock);
|
write_lock_bh(&pn->hash_lock);
|
||||||
for (i = 0; i < PPPOE_HASH_SIZE; i++) {
|
for (i = 0; i < PPPOE_HASH_SIZE; i++) {
|
||||||
struct pppox_sock *po = pn->hash_table[i];
|
struct pppox_sock *po = pn->hash_table[i];
|
||||||
|
|
Loading…
Reference in New Issue