Skip to content
Commit 84841c3c authored by Denis V. Lunev's avatar Denis V. Lunev Committed by David S. Miller
Browse files

ipv4: assign PDE->data before gluing PDE into /proc tree



The check for PDE->data != NULL becomes useless after the replacement
of proc_net_fops_create with proc_create_data.

Signed-off-by: default avatarDenis V. Lunev <den@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1d3faa39
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment