pinsched: Avoid uninitialized variable warning.
[openvswitch] / datapath / dp_sysfs_dp.c
index 413dfc31c232a3c2ddfc084ee99450e7fb8eae99..6cbd864180fb57b3eba5f7c9370888263892bb70 100644 (file)
@@ -43,7 +43,7 @@
 #define DEV_ATTR(NAME) dev_attr_##NAME
 #endif
 
-struct datapath *sysfs_get_dp(struct net_device *netdev)
+static struct datapath *sysfs_get_dp(struct net_device *netdev)
 {
        struct vport *vport = internal_dev_get_vport(netdev);
        return vport ? vport->dp : NULL;