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

Andy Zhou azhou at nicira.com
Mon Aug 5 20:02:06 UTC 2013


Acked-by: Andy Zhou <azhou at nicira.com>



On Thu, Aug 1, 2013 at 2:29 PM, Ben Pfaff <blp at nicira.com> wrote:

> 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
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130805/32ec226d/attachment-0003.html>


More information about the dev mailing list