openvswitch: Constify various function arguments

Help produce better optimized code.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
This commit is contained in:
Thomas Graf 2014-11-06 06:58:52 -08:00 committed by Pravin B Shelar
parent e8eedb85bd
commit 12eb18f711
11 changed files with 38 additions and 36 deletions

View file

@ -77,7 +77,7 @@ static rx_handler_result_t netdev_frame_hook(struct sk_buff **pskb)
return RX_HANDLER_CONSUMED;
}
static struct net_device *get_dpdev(struct datapath *dp)
static struct net_device *get_dpdev(const struct datapath *dp)
{
struct vport *local;