net: proc: change proc_net_remove to remove_proc_entry
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 18 Feb 2013 01:34:56 +0000 (01:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Feb 2013 19:53:08 +0000 (14:53 -0500)
commitece31ffd539e8e2b586b1ca5f50bc4f4591e3893
tree05407d915a4c0be78a4aa85f54ae3b148ec91ea3
parentb4278c961aca320839964e23cfc7906ff61af0c2
net: proc: change proc_net_remove to remove_proc_entry

proc_net_remove is only used to remove proc entries
that under /proc/net,it's not a general function for
removing proc entries of netns. if we want to remove
some proc entries which under /proc/net/stat/, we still
need to call remove_proc_entry.

this patch use remove_proc_entry to replace proc_net_remove.
we can remove proc_net_remove after this patch.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
60 files changed:
drivers/connector/connector.c
drivers/net/hamradio/bpqether.c
drivers/net/hamradio/scc.c
drivers/net/hamradio/yam.c
drivers/net/ppp/pppoe.c
net/8021q/vlanproc.c
net/atm/proc.c
net/ax25/af_ax25.c
net/bluetooth/af_bluetooth.c
net/can/bcm.c
net/can/proc.c
net/core/dev.c
net/core/dev_addr_lists.c
net/core/pktgen.c
net/core/sock.c
net/dccp/probe.c
net/decnet/af_decnet.c
net/decnet/dn_dev.c
net/decnet/dn_neigh.c
net/decnet/dn_route.c
net/ipv4/arp.c
net/ipv4/fib_trie.c
net/ipv4/igmp.c
net/ipv4/ipmr.c
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
net/ipv4/ping.c
net/ipv4/proc.c
net/ipv4/raw.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_probe.c
net/ipv4/udp.c
net/ipv6/addrconf.c
net/ipv6/anycast.c
net/ipv6/ip6_flowlabel.c
net/ipv6/ip6mr.c
net/ipv6/mcast.c
net/ipv6/proc.c
net/ipv6/raw.c
net/ipv6/route.c
net/key/af_key.c
net/l2tp/l2tp_ppp.c
net/netfilter/ipvs/ip_vs_app.c
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/nf_conntrack_expect.c
net/netfilter/nf_conntrack_standalone.c
net/netfilter/x_tables.c
net/netfilter/xt_hashlimit.c
net/netfilter/xt_recent.c
net/netlink/af_netlink.c
net/netrom/af_netrom.c
net/packet/af_packet.c
net/phonet/pn_dev.c
net/rose/af_rose.c
net/rxrpc/af_rxrpc.c
net/sched/sch_api.c
net/sctp/probe.c
net/unix/af_unix.c
net/wireless/wext-proc.c
net/xfrm/xfrm_proc.c