[ovs-dev] [netdev 18/27] netdev-provider: Remove unused function netdev_assert_class().

Ben Pfaff blp at nicira.com
Thu Aug 1 21:29:41 UTC 2013


Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/netdev-provider.h |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h
index 137b659..19230a1 100644
--- a/lib/netdev-provider.h
+++ b/lib/netdev-provider.h
@@ -50,12 +50,6 @@ struct netdev *netdev_from_name(const char *name);
 void netdev_get_devices(const struct netdev_class *,
                         struct shash *device_list);
 
-static inline void netdev_assert_class(const struct netdev *netdev,
-                                           const struct netdev_class *class_)
-{
-    ovs_assert(netdev->netdev_class == class_);
-}
-
 /* Network device class structure, to be defined by each implementation of a
  * network device.
  *
-- 
1.7.10.4




More information about the dev mailing list