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

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



Simply replace proc_create and further data assigned with proc_create_data.
Additionally, there is no need to assign NULL to PDE->data after creation,
/proc generic has already done this for us.

Signed-off-by: default avatarDenis V. Lunev <den@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e79d85d
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