diff options
| author | Thomas Graf <[email protected]> | 2014-11-06 14:58:52 +0000 |
|---|---|---|
| committer | Pravin B Shelar <[email protected]> | 2014-11-10 02:58:44 +0000 |
| commit | 12eb18f7115884b0c1513dda31b0051121116b3a (patch) | |
| tree | 9c6003bff7ab289540d55460d9c0a0e1105a3716 /net/openvswitch/vport-netdev.c | |
| parent | openvswitch: Remove redundant key ref from upcall_info. (diff) | |
| download | kernel-12eb18f7115884b0c1513dda31b0051121116b3a.tar.gz kernel-12eb18f7115884b0c1513dda31b0051121116b3a.zip | |
openvswitch: Constify various function arguments
Help produce better optimized code.
Signed-off-by: Thomas Graf <[email protected]>
Signed-off-by: Pravin B Shelar <[email protected]>
Diffstat (limited to 'net/openvswitch/vport-netdev.c')
| -rw-r--r-- | net/openvswitch/vport-netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-netdev.c b/net/openvswitch/vport-netdev.c index 877ee74b4f08..4776282c6417 100644 --- a/net/openvswitch/vport-netdev.c +++ b/net/openvswitch/vport-netdev.c @@ -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; |
