Remove forward declaration of vsp_vlandev_to_realdev()
authorSimon Horman <horms@verge.net.au>
Mon, 14 May 2012 04:59:58 +0000 (13:59 +0900)
committerBen Pfaff <blp@nicira.com>
Mon, 14 May 2012 16:22:54 +0000 (09:22 -0700)
There is no need to for a forward declaration of vsp_vlandev_to_realdev()

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c

index 9c8f7f4df74891b3562e9bd7cdb94fb00f726e3a..735a73c400b1b7921541b6259e5eb6642f6fb076 100644 (file)
@@ -530,8 +530,6 @@ struct vlan_splinter {
 
 static uint32_t vsp_realdev_to_vlandev(const struct ofproto_dpif *,
                                        uint32_t realdev, ovs_be16 vlan_tci);
 
 static uint32_t vsp_realdev_to_vlandev(const struct ofproto_dpif *,
                                        uint32_t realdev, ovs_be16 vlan_tci);
-static uint16_t vsp_vlandev_to_realdev(const struct ofproto_dpif *,
-                                       uint16_t vlandev, int *vid);
 static bool vsp_adjust_flow(const struct ofproto_dpif *, struct flow *);
 static void vsp_remove(struct ofport_dpif *);
 static void vsp_add(struct ofport_dpif *, uint16_t realdev_ofp_port, int vid);
 static bool vsp_adjust_flow(const struct ofproto_dpif *, struct flow *);
 static void vsp_remove(struct ofport_dpif *);
 static void vsp_add(struct ofport_dpif *, uint16_t realdev_ofp_port, int vid);