diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2011-11-16 16:52:24 -0800 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2011-11-16 16:52:24 -0800 |
commit | df2a06abbe1d9f4788fa794d0c7f0250dee2bda7 (patch) | |
tree | 7377b54837905521ffa22c74a1d2d09f913dbf2a /datapath | |
parent | be2ba156813131213f7d494cb284063e82049a65 (diff) |
datapath: Dont export get_dp().
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@jessegross.com>
Diffstat (limited to 'datapath')
-rw-r--r-- | datapath/datapath.c | 3 | ||||
-rw-r--r-- | datapath/datapath.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/datapath/datapath.c b/datapath/datapath.c index 44d31a83..47f696e9 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -95,7 +95,7 @@ static int queue_userspace_packet(int dp_ifindex, struct sk_buff *, const struct dp_upcall_info *); /* Must be called with rcu_read_lock, genl_mutex, or RTNL lock. */ -struct datapath *get_dp(int dp_ifindex) +static struct datapath *get_dp(int dp_ifindex) { struct datapath *dp = NULL; struct net_device *dev; @@ -111,7 +111,6 @@ struct datapath *get_dp(int dp_ifindex) return dp; } -EXPORT_SYMBOL_GPL(get_dp); /* Must be called with genl_mutex. */ static struct flow_table *get_table_protected(struct datapath *dp) diff --git a/datapath/datapath.h b/datapath/datapath.h index 9d9cbcf1..dc2c75c6 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -140,7 +140,6 @@ void dp_detach_port(struct vport *); int dp_upcall(struct datapath *, struct sk_buff *, const struct dp_upcall_info *); -struct datapath *get_dp(int dp_idx); const char *dp_name(const struct datapath *dp); struct sk_buff *ovs_vport_cmd_build_info(struct vport *, u32 pid, u32 seq, u8 cmd); |